Uses of Interface
org.rhq.enterprise.communications.command.Command

Packages that use Command
org.rhq.enterprise.communications   
org.rhq.enterprise.communications.command   
org.rhq.enterprise.communications.command.client   
org.rhq.enterprise.communications.command.impl.echo   
org.rhq.enterprise.communications.command.impl.echo.server   
org.rhq.enterprise.communications.command.impl.generic   
org.rhq.enterprise.communications.command.impl.identify   
org.rhq.enterprise.communications.command.impl.identify.server   
org.rhq.enterprise.communications.command.impl.remotepojo   
org.rhq.enterprise.communications.command.impl.remotepojo.server   
org.rhq.enterprise.communications.command.impl.start   
org.rhq.enterprise.communications.command.impl.stream   
org.rhq.enterprise.communications.command.impl.stream.server   
org.rhq.enterprise.communications.command.server   
org.rhq.enterprise.communications.util   
 

Uses of Command in org.rhq.enterprise.communications
 

Methods in org.rhq.enterprise.communications with parameters of type Command
 void GlobalConcurrencyLimitCommandListener.processedCommand(Command command, CommandResponse response)
          This is called for every command that finished which includes all commands that succeeded, failed or was not permitted due to GlobalConcurrencyLimitCommandListener.receivedCommand(Command) throwing a NotPermittedException.
 void GlobalSuspendCommandListener.processedCommand(Command command, CommandResponse response)
          This is called for every command that finished.
 void GlobalConcurrencyLimitCommandListener.receivedCommand(Command command)
          This will be called for every command coming in.
 void GlobalSuspendCommandListener.receivedCommand(Command command)
          This will be called for every command coming in.
 

Uses of Command in org.rhq.enterprise.communications.command
 

Classes in org.rhq.enterprise.communications.command that implement Command
 class AbstractCommand
          Superclass to all Command objects that may be executed by a command processor.
 

Methods in org.rhq.enterprise.communications.command that return Command
 Command CommandResponse.getCommand()
          If the command was issued with isCommandInResponse() set to true, this will return a copy of the Command object that was executed.
 Command AbstractCommandResponse.getCommand()
           
 

Methods in org.rhq.enterprise.communications.command with parameters of type Command
 CommandResponse CommandExecutor.execute(Command command, InputStream in, OutputStream out)
          Executes the given command and returns its response.
protected  void AbstractCommandResponse.setCommand(Command command)
          Sets the command that was executed and whose results are being returned in this response object.
 

Constructors in org.rhq.enterprise.communications.command with parameters of type Command
AbstractCommand(Command commandToTransform)
          Constructor for AbstractCommand that acts as a pseudo-copy constructor and a command decorator/transformer.
AbstractCommandResponse(Command command)
          Constructor for AbstractCommandResponse to initialize this response with empty results.
AbstractCommandResponse(Command command, boolean success, Object results, Throwable exception)
          Constructor for AbstractCommandResponse that allows all fields to be initialized.
 

Uses of Command in org.rhq.enterprise.communications.command.client
 

Methods in org.rhq.enterprise.communications.command.client that return Command
 Command CmdlineClient.buildCommand(String[] args)
          Simply builds and returns a command defined by the given cmdline arguments.
 Command CommandClient.createNewCommand(Map<String,Object> params)
          Creates a new Command object that can be used by this client.
 Command CommandAndCallback.getCommand()
          Returns the command.
 

Methods in org.rhq.enterprise.communications.command.client with parameters of type Command
 CommandResponse ClientCommandSender.executePostSendCallbacks(Command command, CommandResponse response)
          Execute the post-send callbacks for the given command if this sender was configured with one or more send callbacks.
 void ClientCommandSender.executePreSendCallbacks(Command command)
          Execute the pre-send callbacks for the given command if this sender was configured with one or more send callbacks.
 boolean FailureCallback.failureDetected(RemoteCommunicator remoteCommunicator, Command command, CommandResponse response, Throwable t)
          The callback method that is called when a failure is detected by a remote communicator.
static void OutgoingCommandTrace.finish(Command command, Object response)
          Call this when the command is finished - that is, just after its response is returned.
 CommandResponse CommandClient.invoke(Command command)
          Invokes the actual command by utilizing the remoting communicator to transport the command to the server.
 CommandResponse AbstractCommandClient.invoke(Command command)
           
 void CommandPreprocessor.preprocess(Command command, ClientCommandSender sender)
          This method provides the hook for a command preprocessor to manipulate a command (such as add things to its configuration.
 void ClientCommandSender.preprocessCommand(Command command)
          Preprocesses the given command if this sender was configured with one or more command preprocessors.
 CommandResponse JBossRemotingRemoteCommunicator.send(Command command)
           
 CommandResponse RemoteCommunicator.send(Command command)
          Sends the given command to the remote endpoint by utilizing a remoting framework supported by the specific communicator implementation.
 void ClientCommandSender.sendAsynch(Command command, CommandResponseCallback callback)
          Sends the command asynchronously.
 void ClientCommandSender.sendAsynchGuaranteed(Command command, CommandResponseCallback callback)
          Sends the command asynchronously with guaranteed delivery enabled.
 void SendCallback.sending(Command command)
          This method provides the hook for pre-send logic.
 boolean InitializeCallback.sendingInitialCommand(RemoteCommunicator remoteCommunicator, Command command)
          The callback method that is called when a remote communicator is about to send its very first command.
 CommandResponse ClientCommandSender.sendSynch(Command command)
          Sends the command synchronously.
 CommandResponse JBossRemotingRemoteCommunicator.sendWithoutCallbacks(Command command)
           
 CommandResponse RemoteCommunicator.sendWithoutCallbacks(Command command)
          This is the same as RemoteCommunicator.send(Command) except, on error, this method will not attempt to call the failure callback, if one was set.
 CommandResponse JBossRemotingRemoteCommunicator.sendWithoutInitializeCallback(Command command)
           
 CommandResponse RemoteCommunicator.sendWithoutInitializeCallback(Command command)
          This is the same as RemoteCommunicator.send(Command) except this method will not attempt to call the initialize callback, thus allowing this method to be called from the initialize callback itself.
 CommandResponse SendCallback.sent(Command command, CommandResponse response)
          This method provides the hook for post-send logic.
static void OutgoingCommandTrace.start(Command command)
          Call this when starting the command - that is, just prior to it going out over the wire.
 

Constructors in org.rhq.enterprise.communications.command.client with parameters of type Command
CommandAndCallback(Command command, CommandResponseCallback callback)
          Creates a new CommandAndCallback object.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.echo
 

Classes in org.rhq.enterprise.communications.command.impl.echo that implement Command
 class EchoCommand
          The ECHO command used for mainly testing and debugging connectivity.
 

Methods in org.rhq.enterprise.communications.command.impl.echo that return Command
 Command EchoCommandClient.createNewCommand(Map<String,Object> params)
           
 

Constructors in org.rhq.enterprise.communications.command.impl.echo with parameters of type Command
EchoCommand(Command commandToTransform)
          Constructor for EchoCommand.
EchoCommandResponse(Command cmd, String echoMessage)
          Constructor for EchoCommandResponse that defines a successfully executed echo command.
EchoCommandResponse(Command cmd, Throwable exception)
          Constructor for EchoCommandResponse that defines a failed echo command.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.echo.server
 

Methods in org.rhq.enterprise.communications.command.impl.echo.server with parameters of type Command
 CommandResponse EchoCommandService.execute(Command command, InputStream in, OutputStream out)
           
 

Uses of Command in org.rhq.enterprise.communications.command.impl.generic
 

Classes in org.rhq.enterprise.communications.command.impl.generic that implement Command
 class GenericCommand
          Defines a custom command in which the command metadata (in other words, command type and parameter definitions) are mutable.
 

Methods in org.rhq.enterprise.communications.command.impl.generic that return Command
 Command GenericCommandClient.createNewCommand(Map<String,Object> params)
          Returns a GenericCommand object that can be used as a generic command.
 

Constructors in org.rhq.enterprise.communications.command.impl.generic with parameters of type Command
GenericCommand(Command commandToTransform)
           
GenericCommandResponse(Command command)
          Constructor for GenericCommandResponse.
GenericCommandResponse(Command command, boolean success, Object results, Throwable exception)
          Constructor for GenericCommandResponse.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.identify
 

Classes in org.rhq.enterprise.communications.command.impl.identify that implement Command
 class IdentifyCommand
          The IDENTIFY command used for clients to ask a server for identification.
 

Constructors in org.rhq.enterprise.communications.command.impl.identify with parameters of type Command
IdentifyCommand(Command commandToTransform)
          Constructor for IdentifyCommand.
IdentifyCommandResponse(Command cmd, Identification ident)
          Constructor for IdentifyCommandResponse that defines a successfully executed identify command.
IdentifyCommandResponse(Command cmd, Throwable exception)
          Constructor for IdentifyCommandResponse that defines a failed identify command.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.identify.server
 

Methods in org.rhq.enterprise.communications.command.impl.identify.server with parameters of type Command
 CommandResponse IdentifyCommandService.execute(Command command, InputStream in, OutputStream out)
           
 

Uses of Command in org.rhq.enterprise.communications.command.impl.remotepojo
 

Classes in org.rhq.enterprise.communications.command.impl.remotepojo that implement Command
 class RemotePojoInvocationCommand
          The command to be sent when a remote invocation on a POJO is to be made.
 

Constructors in org.rhq.enterprise.communications.command.impl.remotepojo with parameters of type Command
RemotePojoInvocationCommand(Command commandToTransform)
          Constructor for RemotePojoInvocationCommand.
RemotePojoInvocationCommandResponse(Command cmd, Object results)
          Constructor for RemotePojoInvocationCommandResponse that defines a successfully invoked remote POJO method.
RemotePojoInvocationCommandResponse(Command cmd, Throwable exception)
          Constructor for RemotePojoInvocationCommandResponse that defines a failed remote POJO invocation.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.remotepojo.server
 

Methods in org.rhq.enterprise.communications.command.impl.remotepojo.server with parameters of type Command
 CommandResponse RemotePojoInvocationCommandService.execute(Command command, InputStream in, OutputStream out)
          Takes the remote POJO invocation request, which has the NameBasedInvocation parameter, and convert that to a method call on the target POJO (using reflection).
 

Uses of Command in org.rhq.enterprise.communications.command.impl.start
 

Classes in org.rhq.enterprise.communications.command.impl.start that implement Command
 class StartCommand
          Command used to start operating system processes.
 

Constructors in org.rhq.enterprise.communications.command.impl.start with parameters of type Command
StartCommand(Command commandToTransform)
          Constructor for StartCommand.
StartCommandResponse(Command command)
          Creates a response, however, there is no associated exit code (due to the fact that the original command did not request that the command service wait for the process to exit).
StartCommandResponse(Command command, Integer exitCode)
          Creates a response that considers the command a success, with the exitCode passed as the result object.
StartCommandResponse(Command command, Throwable exception)
          Creates a response that considers the command a failure with the given exception stored in the response.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.stream
 

Classes in org.rhq.enterprise.communications.command.impl.stream that implement Command
 class RemoteInputStreamCommand
          The command to be sent when a remote invocation on an input stream is to be made.
 class RemoteOutputStreamCommand
          The command to be sent when a remote invocation on an output stream is to be made.
 

Constructors in org.rhq.enterprise.communications.command.impl.stream with parameters of type Command
RemoteInputStreamCommand(Command commandToTransform)
          Constructor for RemoteInputStreamCommand.
RemoteInputStreamCommandResponse(Command cmd, Object results)
          Constructor for RemoteInputStreamCommandResponse that defines a successfully invoked remote stream method.
RemoteInputStreamCommandResponse(Command cmd, Throwable exception)
          Constructor for RemoteInputStreamCommandResponse that defines a failed remote stream invocation.
RemoteOutputStreamCommand(Command commandToTransform)
          Constructor for RemoteOutputStreamCommand.
RemoteOutputStreamCommandResponse(Command cmd, Object results)
          Constructor for RemoteOutputStreamCommandResponse that defines a successfully invoked remote stream method.
RemoteOutputStreamCommandResponse(Command cmd, Throwable exception)
          Constructor for RemoteOutputStreamCommandResponse that defines a failed remote stream invocation.
 

Uses of Command in org.rhq.enterprise.communications.command.impl.stream.server
 

Methods in org.rhq.enterprise.communications.command.impl.stream.server with parameters of type Command
 CommandResponse RemoteInputStreamCommandService.execute(Command command, InputStream in, OutputStream out)
          Takes the remote stream access request, which has the NameBasedInvocation parameter, and convert that to a method call on the target stream (using reflection).
 CommandResponse RemoteOutputStreamCommandService.execute(Command command, InputStream in, OutputStream out)
          Takes the remote stream access request, which has the NameBasedInvocation parameter, and convert that to a method call on the target stream (using reflection).
 

Uses of Command in org.rhq.enterprise.communications.command.server
 

Methods in org.rhq.enterprise.communications.command.server with parameters of type Command
 CommandResponse MultipleCommandService.execute(Command command, InputStream in, OutputStream out)
          Given a command to execute, this method will lookup that command's type to determine what executor should be used.
static void IncomingCommandTrace.finish(Command command, Object response)
          Call this when the command is finished - that is, after the command has been processed and its response is about to be returned.
 boolean CommandAuthenticator.isAuthenticated(Command command)
          The given command will be authenticated by some security mechanism determined by the implementor of this method.
 void CommandListener.processedCommand(Command command, CommandResponse response)
          The listener callback method that is called when a new command has been processed and is about to be returned to the remote client.
 void CommandListener.receivedCommand(Command command)
          The listener callback method that is called when a new command has been received by a remote client.
static void IncomingCommandTrace.start(Command command)
          Call this when the command is just received since being delivered over the wire.
 

Uses of Command in org.rhq.enterprise.communications.util
 

Methods in org.rhq.enterprise.communications.util with parameters of type Command
static int CommandTraceUtil.getCommandSize(Command command)
          Returns the actual size, in bytes, of the given command but only if it exceeds the given configured threshold (-1 is returned otherwise).
static String CommandTraceUtil.getCommandString(Command command)
          Returns a good string to use to log the command.
static String CommandTraceUtil.getConfigString(Command command)
          Returns the string that represents the command configuration.
 



Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.