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
IOException
NamingException
void handleServerMessage(Channel channel, DataInput input, int correlationId, RemoteNamingService namingServer) throws IOException
IOException
void handleClientMessage(DataInput input, int correlationId, RemoteNamingStore namingStore) throws IOException
IOException
Copyright © 2016 JBoss by Red Hat. All rights reserved.