
public class ScriptingSubsystemWrapper extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ScriptingSubsystemWrapper(String subsystemName,
ConcurrentMessagingUtils cmdAgent) |
| Modifier and Type | Method and Description |
|---|---|
Future<Object> |
asynchCommand(String commandName,
Object... args)
Deprecated.
|
Future<Object> |
asynchCommandLine(String command)
Deprecated.
|
Future<Object> |
internalAsynchCommand(CommandRequest cmd) |
Future<Object> |
sendAsynchCommand(String commandName,
Object... args) |
Object |
sendSynchCommand(Duration timeout,
String commandName,
Object... args) |
Object |
sendSynchCommand(String commandName,
Object... args) |
ScriptingCommandResponse |
synchCommand(int timeout,
String commandName,
Object... args)
Deprecated.
|
ScriptingCommandResponse |
synchCommandLine(int timeout,
String command) |
protected ScriptingSubsystemWrapper(String subsystemName, ConcurrentMessagingUtils cmdAgent)
@Deprecated public ScriptingCommandResponse synchCommand(int timeout, String commandName, Object... args) throws ScriptingTimeoutException, Exception
timeout - Duration 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.CCS.setThrowExceptions(boolean).ScriptingTimeoutException - When the timeout is reached a
ScriptingTimeoutException will be either thrown or returned depending on
CCS.setThrowExceptions(boolean).Exception - When an exception occurs during the command execution
the underlying Exception will be either thrown or returned depending on
CCS.setThrowExceptions(boolean).public ScriptingCommandResponse synchCommandLine(int timeout, String command) throws ScriptingTimeoutException, Exception
ScriptingTimeoutExceptionExceptionpublic Object sendSynchCommand(Duration timeout, String commandName, Object... args) throws ScriptingTimeoutException, Exception
ScriptingTimeoutExceptionExceptionpublic Object sendSynchCommand(String commandName, Object... args) throws ScriptingTimeoutException, Exception
ScriptingTimeoutExceptionException@Deprecated public Future<Object> asynchCommand(String commandName, Object... args) throws Exception
commandName - The name of the command to be executed. e.g.
"takeImage"args - Variable number of command arguments.CCS.setThrowExceptions(boolean).Exception - When an exception occurs during the command execution
the underlying Exception will be either thrown or returned as part of the
Future, depending on CCS.setThrowExceptions(boolean).@Deprecated public Future<Object> asynchCommandLine(String command) throws Exception
Exceptionpublic Future<Object> sendAsynchCommand(String commandName, Object... args) throws Exception
Exceptionpublic Future<Object> internalAsynchCommand(CommandRequest cmd) throws Exception
ExceptionCopyright © 2019 LSST. All rights reserved.