| 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 | Field and Description |
|---|---|
static CommandHandle |
CommandHandle.NONE
Empty
CommandHandle that does no processing. |
| 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.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.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.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.
|
void |
CommandSender.setCommandHandle(CommandHandle defaultCommandHandle)
Sets the default command handle for this sender.
|
| Constructor and Description |
|---|
CommandTask(CommandSender sender,
CommandHandle handle,
Duration timeout,
String destination,
String command,
Object[] args)
Creates a
CommandTask with an explicit list of raw (not converted to strings) arguments. |
CommandTask(String destination,
String command,
CommandSender sender,
CommandHandle handle,
Duration timeout)
Creates a
CommandTask. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCommandHandle
Basic console-specific implementation of
CommandHandle interface. |
| 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. |
Copyright © 2023 LSST. All rights reserved.