public class SimpleCommand extends AbstractTextCommand
type| Constructor and Description | 
|---|
SimpleCommand(TextCommandConstants.TextCommandType type)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
readFrom(ByteBuffer cb)  | 
void | 
setResponse(byte[] value)  | 
String | 
toString()  | 
boolean | 
writeTo(ByteBuffer bb)
Asks the SocketWritable to write its content to the destination ByteBuffer. 
 | 
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, isUrgent, shouldReplypublic SimpleCommand(TextCommandConstants.TextCommandType type)
public boolean readFrom(ByteBuffer cb)
public void setResponse(byte[] value)
public boolean writeTo(ByteBuffer bb)
SocketWritablebb - the ByteBuffer to write to.public String toString()
toString in class AbstractTextCommandCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.