public class VersionCommand extends AbstractTextCommand
TextCommandConstants.TextCommandType
type
CLIENT_ERROR, DELETED, END, ERROR, FLAG_ZERO, MONTH_SECONDS, NOT_FOUND, NOT_STORED, RETURN, RETURN_END, SERVER_ERROR, SPACE, STORED, TOUCHED, VALUE_SPACE
Modifier | Constructor and Description |
---|---|
protected |
VersionCommand(TextCommandConstants.TextCommandType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
readFrom(ByteBuffer source) |
boolean |
writeTo(ByteBuffer destination)
Asks the SocketWritable to write its content to the destination ByteBuffer.
|
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, isUrgent, shouldReply, toString
protected VersionCommand(TextCommandConstants.TextCommandType type)
public boolean writeTo(ByteBuffer destination)
SocketWritable
destination
- the ByteBuffer to write to.public boolean readFrom(ByteBuffer source)
Copyright © 2014 Hazelcast, Inc.. All rights reserved.