public interface CommandListener
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
receivedCommand(Command command)
The listener callback method that is called when a new command has been received by a remote client.
|
void receivedCommand(Command command)
Implementors of this method must ensure that it does not block and finishes very quickly; otherwise, command throughput will suffer.
command - the new command that was receivedvoid processedCommand(Command command, CommandResponse response)
Implementors of this method must ensure that it does not block and finishes very quickly; otherwise, command throughput will suffer.
command - the command that was received and processedresponse - the results of the command - this is being sent back to the clientCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.