public class VersionCommand extends AbstractTextCommand
type
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.