public interface ProtocolCommand<T>
| Modifier and Type | Method and Description |
|---|---|
T |
execute(Channel channel,
Object... args) |
byte |
getCommandId() |
void |
handleClientMessage(DataInput input,
int correlationId,
RemoteNamingStore namingStore) |
void |
handleServerMessage(Channel channel,
DataInput input,
int correlationId,
RemoteNamingService namingServer) |
byte getCommandId()
T execute(Channel channel, Object... args) throws IOException, NamingException
IOExceptionNamingExceptionvoid handleServerMessage(Channel channel, DataInput input, int correlationId, RemoteNamingService namingServer) throws IOException
IOExceptionvoid handleClientMessage(DataInput input, int correlationId, RemoteNamingStore namingStore) throws IOException
IOExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.