com.hazelcast.internal.ascii.memcache
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, shouldReply
public ErrorCommand(TextCommandConstants.TextCommandType type)
public ErrorCommand(TextCommandConstants.TextCommandType type, String message)
public boolean readFrom(ByteBuffer cb)
public boolean writeTo(ByteBuffer bb)
SocketWritable
bb
- the ByteBuffer to write to.public String toString()
toString
in class AbstractTextCommand
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.