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