Uses of Interface
adams.scripting.command.RemoteCommand
-
-
Uses of RemoteCommand in adams.flow.container
Constructors in adams.flow.container with parameters of type RemoteCommand Constructor Description RemoteCommandContainer(String event, RemoteCommand cmd)
Initializes the container with the type of event and command but no message.RemoteCommandContainer(String event, RemoteCommand cmd, String msg)
Initializes the container with the type of event and command but no message. -
Uses of RemoteCommand in adams.flow.source
Fields in adams.flow.source declared as RemoteCommand Modifier and Type Field Description protected RemoteCommand
NewRemoteCommand. m_Command
the command to create.Methods in adams.flow.source that return RemoteCommand Modifier and Type Method Description RemoteCommand
NewRemoteCommand. getCommand()
Returns the command to create.Methods in adams.flow.source with parameters of type RemoteCommand Modifier and Type Method Description void
NewRemoteCommand. setCommand(RemoteCommand value)
Sets the command to create. -
Uses of RemoteCommand in adams.gui.menu
Fields in adams.gui.menu declared as RemoteCommand Modifier and Type Field Description protected RemoteCommand
RemoteCommands. m_LastCommand
the last command sent. -
Uses of RemoteCommand in adams.gui.tools.remotecontrolcenter.panels
Methods in adams.gui.tools.remotecontrolcenter.panels with parameters of type RemoteCommand Modifier and Type Method Description void
AbstractRemoteFlowTab.FlowListResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
AdvancedTab.InspectionResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
RemoteLoggingTab.LoggingResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
SimpleTabResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Displays error.void
AbstractRemoteFlowTab.FlowListResponseHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
AdvancedTab.InspectionResponseHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
RemoteLoggingTab.LoggingResponseHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
SimpleTabResponseHandler. responseSuccessful(RemoteCommand cmd)
Does nothing.void
AbstractRemoteControlCenterTab. sendCommand(RemoteCommand cmd, RemoteCommandProcessor processor, BaseHostname remote)
Sends the specified command, not waiting for a response.void
AbstractRemoteFlowTab. sendCommand(RemoteCommand cmd)
Sends the specified command, not waiting for a response. -
Uses of RemoteCommand in adams.multiprocess
Methods in adams.multiprocess with parameters of type RemoteCommand Modifier and Type Method Description protected String
RemoteCommandJobRunner.RemoteCommandGrabber. check(RemoteCommand cmd)
Hook method for checks before handling the command.protected String
RemoteCommandJobRunner.RemoteCommandGrabber. doHandle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command. -
Uses of RemoteCommand in adams.scripting
Fields in adams.scripting declared as RemoteCommand Modifier and Type Field Description protected RemoteCommand[]
CommandRunner. m_Commands
the commands to execute.Methods in adams.scripting that return RemoteCommand Modifier and Type Method Description RemoteCommand[]
CommandRunner. getCommands()
Returns the commands to execute.Methods in adams.scripting with parameters of type RemoteCommand Modifier and Type Method Description void
CommandRunner. setCommands(RemoteCommand[] value)
Sets the commands to execute. -
Uses of RemoteCommand in adams.scripting.command
Subinterfaces of RemoteCommand in adams.scripting.command Modifier and Type Interface Description interface
FlowAwareRemoteCommand
Interface for commands that can utilize a flow that is sending this command.interface
RemoteCommandOnFlow
Interface for remote commands that operate on a specific flow, identified by its ID.interface
RemoteCommandWithErrorMessage
Interface for commands that support error message.interface
RemoteCommandWithResponse
Interface for remote commands that send a response back to a host.Classes in adams.scripting.command that implement RemoteCommand Modifier and Type Class Description class
AbstractCommand
Ancestor for remote commands.class
AbstractCommandWithResponse
Ancestor for commands that send a response.class
AbstractFlowAwareCommand
Ancestor for commands that have a flow context..class
AbstractFlowAwareCommandWithResponse
Ancestor for commands with a response that have flow context.class
AbstractRemoteCommandOnFlowWithResponse
Ancestor for commands that work on flows. -
Uses of RemoteCommand in adams.scripting.command.basic
Classes in adams.scripting.command.basic that implement RemoteCommand Modifier and Type Class Description class
AbstractCommandWithFlowStopping
Ancestor for commands that stop flows.class
Kill
Kills the remote ADAMS instance.class
Ping
Requests an 'am alive' signal from the remote host.class
Restart
Attempts to restart the remote ADAMS instance.class
RetrieveFile
Retrieves a file as binary blob.class
SendFile
Sends a file as binary blob.class
StartRemoteLogging
Starts remote logging.class
Stop
Attempts to stop the remote ADAMS instance.class
StopEngine
Simply stops the scripting engine, either the one handling the request or the response.class
StopRemoteLogging
Stops remote logging.class
SystemInfo
Sends the system info of the remote host back.class
Text
Just sends some text. -
Uses of RemoteCommand in adams.scripting.command.distributed
Classes in adams.scripting.command.distributed that implement RemoteCommand Modifier and Type Class Description class
DeregisterWorker
Deregisters aWorkerScriptingEngine
from a main.class
JobRunner
Encapsulates a JobRunner.class
KillWorkers
Kills allWorkerScriptingEngine
that are registered with the main engine receiving this message.class
RegisterWorker
Registers aWorkerScriptingEngine
with a main engine. -
Uses of RemoteCommand in adams.scripting.command.flow
Classes in adams.scripting.command.flow that implement RemoteCommand Modifier and Type Class Description class
GetFlow
Retrieves a running/registered flow using its ID.class
ListFlows
Sends a list of registered running flows back.class
RemoteFlowExecution
Allows the remote execution of flows, including the transfer of storage items from the flow triggering the remote execution.class
RestartFlow
Restarts a registered flow via its ID.class
RunRemoteFlow
Loads and runs a flow on a remote server.class
SendFlowControlCommand
Sends a control command to a flow (pause/resume/stop/start). -
Uses of RemoteCommand in adams.scripting.command.gui
Classes in adams.scripting.command.gui that implement RemoteCommand Modifier and Type Class Description class
MenuItem
Launches the specified menu item on the remote machine. -
Uses of RemoteCommand in adams.scripting.connection
Methods in adams.scripting.connection with parameters of type RemoteCommand Modifier and Type Method Description protected String
AbstractConnection. checkRequest(RemoteCommand cmd)
Hook method that checks the request command and setup for sending it.protected String
LoadBalancer. checkRequest(RemoteCommand cmd)
Hook method that checks the request command and setup for sending it.protected String
Multicast. checkRequest(RemoteCommand cmd)
Hook method that checks the request command and setup for sending it.protected String
AbstractConnection. checkResponse(RemoteCommand cmd)
Hook method that checks the response command and setup for sending it.protected String
LoadBalancer. checkResponse(RemoteCommand cmd)
Hook method that checks the response command and setup for sending it.protected String
Multicast. checkResponse(RemoteCommand cmd)
Hook method that checks the response command and setup for sending it.protected abstract String
AbstractSSHConnection. doSend(RemoteCommand cmd, RemoteCommandProcessor processor, boolean request)
Sends the command to the specified sscripting engine.protected String
FTPConnection. doSend(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the command to the specified sscripting engine.protected String
ScpConnection. doSend(RemoteCommand cmd, RemoteCommandProcessor processor, boolean request)
Sends the command to the specified sscripting engine.protected String
SSHConnection. doSend(RemoteCommand cmd, RemoteCommandProcessor processor, boolean request)
Sends the command to the specified sscripting engine.protected abstract String
AbstractConnection. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected String
AbstractSSHConnection. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected String
DefaultConnection. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected String
FTPConnection. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected String
LoadBalancer. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected String
Multicast. doSendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.protected abstract String
AbstractConnection. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
AbstractSSHConnection. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
DefaultConnection. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
FTPConnection. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
LoadBalancer. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
Multicast. doSendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.protected String
AbstractSSHConnection. send(RemoteCommand cmd, RemoteCommandProcessor processor, boolean request)
Sends the command to the specified sscripting engine.protected String
DefaultConnection. send(RemoteCommand cmd, RemoteCommandProcessor processor, String host, int port, boolean request)
Sends the command to the specified sscripting engine.String
AbstractConnection. sendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.String
Connection. sendRequest(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the request command.String
AbstractConnection. sendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command.String
Connection. sendResponse(RemoteCommand cmd, RemoteCommandProcessor processor)
Sends the response command. -
Uses of RemoteCommand in adams.scripting.engine
Fields in adams.scripting.engine with type parameters of type RemoteCommand Modifier and Type Field Description protected BlockingQueue<RemoteCommand>
ManualFeedScriptingEngine. m_Queue
the queue to add the commands to.Methods in adams.scripting.engine with parameters of type RemoteCommand Modifier and Type Method Description void
ManualFeedScriptingEngine. addCommand(RemoteCommand cmd)
Adds the command to the queue.protected String
AbstractRemoteCommandHandler. check(RemoteCommand cmd)
Hook method for checks before handling the command.protected String
DefaultMainScriptingEngine.RemoteCommandGrabber. check(RemoteCommand cmd)
Hook method for checks before handling the command.protected String
ForwardingScriptingEngine.RemoteCommandGrabber. check(RemoteCommand cmd)
Hook method for checks before handling the command.protected abstract String
AbstractRemoteCommandHandler. doHandle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.protected String
DefaultMainScriptingEngine.RemoteCommandGrabber. doHandle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.protected String
DefaultRemoteCommandHandler. doHandle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.protected String
ForwardingScriptingEngine.RemoteCommandGrabber. doHandle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.String
ForwardingScriptingEngine. forward(RemoteCommand cmd)
Forwards a command.String
AbstractRemoteCommandHandler. handle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.String
RemoteCommandHandler. handle(RemoteCommand cmd, RemoteCommandProcessor processor)
Handles the command.protected void
ManualFeedScriptingEngine. handleCommand(RemoteCommand cmd)
Handles the command.String
DefaultMainScriptingEngine. sendCommand(RemoteCommand cmd)
Sends the command to a worker.String
MainScriptingEngine. sendCommand(RemoteCommand cmd)
Sends the command to a worker. -
Uses of RemoteCommand in adams.scripting.permissionhandler
Methods in adams.scripting.permissionhandler with parameters of type RemoteCommand Modifier and Type Method Description boolean
AllowAll. permitted(RemoteCommand cmd)
Checks whether the command is permitted.boolean
PermissionHandler. permitted(RemoteCommand cmd)
Checks whether the command is permitted.boolean
RejectAll. permitted(RemoteCommand cmd)
Checks whether the command is permitted. -
Uses of RemoteCommand in adams.scripting.processor
Methods in adams.scripting.processor that return RemoteCommand Modifier and Type Method Description RemoteCommand
DefaultProcessor. parse(String data, MessageCollection errors)
Instantiates the command from the received data string.RemoteCommand
JsonProcessor. parse(String data, MessageCollection errors)
Instantiates the command from the received data string.RemoteCommand
RemoteCommandProcessor. parse(String data, MessageCollection errors)
Instantiates the command from the received data string.RemoteCommand
DefaultProcessor. read(File file, MessageCollection errors)
Reads a remote command from a file.RemoteCommand
JsonProcessor. read(File file, MessageCollection errors)
Reads a remote command from a file.RemoteCommand
RemoteCommandProcessor. read(File file, MessageCollection errors)
Reads a remote command from a file.Methods in adams.scripting.processor with parameters of type RemoteCommand Modifier and Type Method Description boolean
DefaultProcessor. write(RemoteCommand cmd, File file, MessageCollection errors)
Writes a remote command to a file.boolean
JsonProcessor. write(RemoteCommand cmd, File file, MessageCollection errors)
Writes a remote command to a file.boolean
RemoteCommandProcessor. write(RemoteCommand cmd, File file, MessageCollection errors)
Writes a remote command to a file. -
Uses of RemoteCommand in adams.scripting.requesthandler
Methods in adams.scripting.requesthandler with parameters of type RemoteCommand Modifier and Type Method Description void
CallableActorsHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
CommandDumperHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
LoggingHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
MultiHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
NullHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
RequestHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
SimpleLogPanelRequestHandler. requestFailed(RemoteCommand cmd, String msg)
Handles failed requests.void
CallableActorsHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
CommandDumperHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
LoggingHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
MultiHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
NullHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
RequestHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
SimpleLogPanelRequestHandler. requestRejected(RemoteCommand cmd, String msg)
Handles rejected requests.void
CallableActorsHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
CommandDumperHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
LoggingHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
MultiHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
NullHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
RequestHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.void
SimpleLogPanelRequestHandler. requestSuccessful(RemoteCommand cmd)
Handles successfuly requests.protected String
CallableActorsHandler. send(String event, RemoteCommand cmd, String msg)
Sends the remote command to the callable actor. -
Uses of RemoteCommand in adams.scripting.responsehandler
Methods in adams.scripting.responsehandler with parameters of type RemoteCommand Modifier and Type Method Description void
CallableActorsHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
CommandDumperHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
LoggingHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
MultiHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
NullHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
ResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
SimpleLogPanelResponseHandler. responseFailed(RemoteCommand cmd, String msg)
Handles failed responses.void
CallableActorsHandler. responseSuccessful(RemoteCommand cmd)
Handles successfuly responses.void
CommandDumperHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
LoggingHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
MultiHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
NullHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
ResponseHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.void
SimpleLogPanelResponseHandler. responseSuccessful(RemoteCommand cmd)
Handles successful responses.protected String
CallableActorsHandler. send(String event, RemoteCommand cmd, String msg)
Sends the remote command to the callable actor.
-