| Package | Description |
|---|---|
| org.lsst.ccs.gconsole.agent.command |
Utility for sending commands to remote subsystems and processing responses.
|
| org.lsst.ccs.gconsole.services.command |
GUI service for sending commands to remote subsystems and processing responses.
|
| Modifier and Type | Method and Description |
|---|---|
CommandTask |
CommandSender.execute(CommandHandle handle,
Duration timeout,
String command,
Object... args)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.execute(CommandHandle handle,
String command,
Object... args)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.execute(Duration timeout,
String command,
Object... args)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.execute(String command,
Object... args)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
CommandTask |
CommandSender.send(CommandHandle handle,
Duration timeout,
String command)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.send(CommandHandle handle,
Duration timeout,
String destination,
String command)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.send(CommandHandle handle,
Duration timeout,
String destination,
String commandName,
String arguments)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.send(CommandHandle handle,
String command)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.send(CommandHandle handle,
String destination,
String command)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.send(CommandHandle handle,
String destination,
String commandName,
String arguments)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.send(Duration timeout,
String command)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.send(Duration timeout,
String destination,
String command)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.send(Duration timeout,
String destination,
String commandName,
String arguments)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.send(String command)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
CommandTask |
CommandSender.send(String destination,
String command)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
CommandTask |
CommandSender.send(String destination,
String commandName,
String arguments)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
CommandTask |
CommandSender.sendEncoded(CommandHandle handle,
Duration timeout,
String destination,
String command,
String... args)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.sendEncoded(CommandHandle handle,
String destination,
String command,
String... args)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.sendEncoded(Duration timeout,
String destination,
String command,
String... args)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.sendEncoded(String destination,
String command,
String... args)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
CommandTask |
CommandSender.sendRaw(CommandHandle handle,
Duration timeout,
String destination,
String command,
Object... args)
Sends a command to a remote subsystem.
|
CommandTask |
CommandSender.sendRaw(CommandHandle handle,
String destination,
String command,
Object... args)
Sends a command to a remote subsystem with the default timeout.
|
CommandTask |
CommandSender.sendRaw(Duration timeout,
String destination,
String command,
Object... args)
Sends a command to a remote subsystem, using the default
CommandHandle of this sender to process responses. |
CommandTask |
CommandSender.sendRaw(String destination,
String command,
Object... args)
Sends a command to a remote subsystem with the default timeout and the default callback handle.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
CommandHandle.onAck(org.lsst.ccs.bus.messages.CommandAck ack,
CommandTask source)
Called when an ACK is received.
|
default void |
CommandHandle.onCancel(CancellationException exception,
CommandTask source)
Called if the command is successfully canceled.
|
default void |
CommandHandle.onExecutionFailure(Throwable exception,
CommandTask source)
Called when the target subsystem either throws an uncaught exception while trying
to execute the command, or returns an exception as the result of execution.
|
default void |
CommandHandle.onNack(org.lsst.ccs.bus.messages.CommandNack nack,
CommandTask source)
Called when the command is rejected.
|
default void |
CommandHandle.onResult(CommandCode code,
Object result,
CommandTask source)
Called when either the result of the command execution is received, or
the command is canceled or times out.
|
default void |
CommandHandle.onResult(Object result,
CommandTask source)
Deprecated.
|
default void |
CommandHandle.onSendingFailure(Throwable exception,
CommandTask source)
Called if the command cannot be sent to the target subsystem.
|
default void |
CommandHandle.onSuccess(Object result,
CommandTask source)
Called when the command result that is not an exception is received.
|
default void |
CommandHandle.onTimeout(TimeoutException exception,
CommandTask source)
Called if the command times out.
|
| Modifier and Type | Method and Description |
|---|---|
CommandTask |
CommandService.execute(CommandHandle handle,
Duration timeout,
String command,
Object... args)
Deprecated.
Use
sendRaw(...), sendEncoded(...), or send(...) instead. |
CommandTask |
CommandService.execute(CommandHandle handle,
String command,
Object... args)
Deprecated.
Use
sendRaw(...), sendEncoded(...), or send(...) instead. |
CommandTask |
CommandService.execute(Duration timeout,
String command,
Object... args)
Deprecated.
Use
sendRaw(...), sendEncoded(...), or send(...) instead. |
CommandTask |
CommandService.execute(String command,
Object... args)
Deprecated.
Use
sendRaw(...), sendEncoded(...), or send(...) instead. |
CommandTask |
CommandService.send(String shellCommand)
Sends a command to a remote subsystem with default timeout and default response handling.
|
CommandTask |
CommandService.send(String destination,
String command)
Sends a command to a remote subsystem with default timeout and default response handling.
|
CommandTask |
CommandService.send(String destination,
String commandName,
String arguments)
Sends a command to a remote subsystem with default timeout and default response handling.
|
CommandTask |
CommandService.sendEncoded(String destination,
String command,
String... args)
Sends a command to a remote subsystem with default timeout and default response handling.
|
CommandTask |
CommandService.sendRaw(String destination,
String command,
Object... args)
Sends a command to a remote subsystem with default timeout and default response handling.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultCommandHandle.onCancel(CancellationException exception,
CommandTask source) |
void |
DefaultCommandHandle.onExecutionFailure(Throwable exception,
CommandTask source) |
void |
DefaultCommandHandle.onNack(org.lsst.ccs.bus.messages.CommandNack nack,
CommandTask source) |
void |
DefaultCommandHandle.onSendingFailure(Throwable exception,
CommandTask source) |
void |
DefaultCommandHandle.onTimeout(TimeoutException exception,
CommandTask source) |
Copyright © 2023 LSST. All rights reserved.