public interface ScriptingSubsystemWrapper
| Modifier and Type | Method and Description |
|---|---|
Future<ScriptingCommandResponse> |
invokeAsynchronous(String command)
Invoke an asynchronous command on the subsystem
|
Future<ScriptingCommandResponse> |
invokeAsynchronous(String commandName,
Object... args)
Invoke an asynchronous command on the subsystem
|
ScriptingCommandResponse |
invokeSynchronous(int timeout,
String command)
Invoke a synchronous command on the subsystem
|
ScriptingCommandResponse |
invokeSynchronous(int timeout,
String commandName,
Object... args)
Invoke a synchronous command on the subsystem
|
ScriptingCommandResponse invokeSynchronous(int timeout, String commandName, Object... args) throws ScriptingTimeoutException
timeout - Number of seconds to wait for command completion.
Once the timeout is reached a ScriptingTimeoutException is thrown.commandName - The name of the command to be executed. e.g. "takeImage"args - Variable number of command arguments.ScriptingCommandResponse containing the Object from the command execution
It could be an exception if exceptions are set to be returned.
See CCS.setThrowExceptions(boolean).ScriptingTimeoutException - if exceptions are set to be thrown.ScriptingCommandResponse invokeSynchronous(int timeout, String command) throws ScriptingTimeoutException
timeout - Number of seconds to wait for command completion.
Once the timeout is reached a ScriptingTimeoutException is thrown.command - The name full command to be executed, including the arguments. e.g. "takeImage 10 2"ScriptingCommandResponse containing the Object from the command execution
It could be an exception if exceptions are set to be returned.
See CCS.setThrowExceptions(boolean).ScriptingTimeoutException - if exceptions are set to be thrown.Future<ScriptingCommandResponse> invokeAsynchronous(String commandName, Object... args)
commandName - The name of the command to be executed. e.g. "takeImage"args - Variable number of command arguments.CCS.setThrowExceptions(boolean).Future<ScriptingCommandResponse> invokeAsynchronous(String command)
command - The name full command to be executed, including the arguments. e.g. "takeImage 10 2"CCS.setThrowExceptions(boolean).Copyright © 2013 LSST. All Rights Reserved.