|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommandListener
A listener that will receive notifications when new commands are received and when they have completed their processing.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 received
void 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 client
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||