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