com.hazelcast.ascii.memcache
Class ErrorCommand
java.lang.Object
com.hazelcast.ascii.AbstractTextCommand
com.hazelcast.ascii.memcache.ErrorCommand
- All Implemented Interfaces:
- TextCommand, SocketReadable, SocketWritable
public class ErrorCommand
- extends AbstractTextCommand
ErrorCommand
public ErrorCommand(TextCommandConstants.TextCommandType type)
ErrorCommand
public ErrorCommand(TextCommandConstants.TextCommandType type,
String message)
readFrom
public boolean readFrom(ByteBuffer cb)
writeTo
public boolean writeTo(ByteBuffer bb)
- Description copied from interface:
SocketWritable
- Asks the SocketWritable to write its content to the destination ByteBuffer.
- Parameters:
bb
- the ByteBuffer to write to.
- Returns:
- todo: unclear what return value means.
toString
public String toString()
- Overrides:
toString
in class AbstractTextCommand
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.