| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCommandResponse
Superclass to all
Command responses. |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
CommandExecutor.execute(Command command,
InputStream in,
OutputStream out)
Executes the given command and returns its response.
|
| Constructor and Description |
|---|
AbstractCommandResponse(CommandResponse responseToTransform)
Constructor for
AbstractCommandResponse that acts as a copy constructor and a command response
decorator/transformer. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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) |
CommandResponse |
CommandClient.invoke(Map<String,Object> params)
Invokes the actual command by utilizing the remoting communicator to transport the command to the server.
|
CommandResponse |
AbstractCommandClient.invoke(Map<String,Object> params) |
CommandResponse |
CmdlineClient.issueCommand(CommandType commandType,
String locatorURI)
Convienence method that invokes a given command type on the remote server found at the given URI.
|
CommandResponse |
CmdlineClient.issueCommand(CommandType commandType,
String locatorURI,
Map<String,String> params)
Convienence method that invokes a given command type (with the given set of parameter values) on the remote
server found at the given URI.
|
CommandResponse |
CmdlineClient.issueCommand(String[] args)
Issues a command defined by the given cmdline arguments.
|
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.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RemotePojoInvocationFuture.commandSent(CommandResponse response)
This stores the new response in this object as this future's calculation result (any previous result is lost).
|
void |
CommandResponseCallback.commandSent(CommandResponse response)
The callback method that indicates the command was sent.
|
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.
|
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.
|
void |
PollingListener.pollResponse(CommandResponse response) |
CommandResponse |
SendCallback.sent(Command command,
CommandResponse response)
This method provides the hook for post-send logic.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EchoCommandResponse
Encapsulates the results of an
echo. |
| Constructor and Description |
|---|
EchoCommandResponse(CommandResponse responseToTransform)
Constructor for
EchoCommandResponse. |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
EchoCommandService.execute(Command command,
InputStream in,
OutputStream out) |
| Modifier and Type | Class and Description |
|---|---|
class |
GenericCommandResponse
Provides a concrete implementation of the
base command response object. |
| Constructor and Description |
|---|
GenericCommandResponse(CommandResponse responseToTransform)
Constructor for
GenericCommandResponse. |
| Modifier and Type | Class and Description |
|---|---|
class |
IdentifyCommandResponse
Encapsulates the results of an
identify command. |
| Constructor and Description |
|---|
IdentifyCommandResponse(CommandResponse responseToTransform)
Constructor for
IdentifyCommandResponse. |
| Modifier and Type | Method and Description |
|---|---|
CommandResponse |
IdentifyCommandService.execute(Command command,
InputStream in,
OutputStream out) |
| Modifier and Type | Class and Description |
|---|---|
class |
RemotePojoInvocationCommandResponse
Encapsulates the results of a remote POJO invocation.
|
| Constructor and Description |
|---|
RemotePojoInvocationCommandResponse(CommandResponse responseToTransform)
Constructor for
RemotePojoInvocationCommandResponse. |
| Modifier and Type | Method and Description |
|---|---|
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).
|
| Modifier and Type | Class and Description |
|---|---|
class |
StartCommandResponse
The response of a start command that will indicate if the remote process instance was successfully started or not.
|
| Constructor and Description |
|---|
StartCommandResponse(CommandResponse responseToTransform)
Constructor for
StartCommandResponse ; |
| Modifier and Type | Class and Description |
|---|---|
class |
RemoteInputStreamCommandResponse
Encapsulates the results of a remote stream invocation.
|
class |
RemoteOutputStreamCommandResponse
Encapsulates the results of a remote output stream invocation.
|
| Constructor and Description |
|---|
RemoteInputStreamCommandResponse(CommandResponse responseToTransform)
Constructor for
RemoteInputStreamCommandResponse. |
RemoteOutputStreamCommandResponse(CommandResponse responseToTransform)
Constructor for
RemoteOutputStreamCommandResponse. |
| Modifier and Type | Method and Description |
|---|---|
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).
|
| Modifier and Type | Method and Description |
|---|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.