com.hazelcast.ascii.memcache
Class VersionCommand

java.lang.Object
  extended by com.hazelcast.ascii.AbstractTextCommand
      extended by com.hazelcast.ascii.memcache.VersionCommand
All Implemented Interfaces:
TextCommand, SocketReadable, SocketWritable

public class VersionCommand
extends AbstractTextCommand


Field Summary
 
Fields inherited from class com.hazelcast.ascii.AbstractTextCommand
type
 
Constructor Summary
protected VersionCommand(TextCommandConstants.TextCommandType type)
           
 
Method Summary
 boolean readFrom(ByteBuffer source)
           
 boolean writeTo(ByteBuffer destination)
          Asks the SocketWritable to write its content to the destination ByteBuffer.
 
Methods inherited from class com.hazelcast.ascii.AbstractTextCommand
getRequestId, getSocketTextReader, getSocketTextWriter, getType, init, isUrgent, shouldReply, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionCommand

protected VersionCommand(TextCommandConstants.TextCommandType type)
Method Detail

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.