- Enclosing class:
protected static interface CommandTransport.CommandReceiver
void handle(Command cmd)Notifies the channel that a new
Commandwas received from the other side.
Channelperforms all the error recovery of the error resulting from the command invocation.
Channelimplements this method in a non-reentrant fashion; a transport can invoke this method from different threads, but as the class javadoc states, the transport must guarantee in-order delivery of the commands, and that means you cannot call this method concurrently.
cmd- The command received. This object must be read from the payload using