Class TextVersionCommand
- java.lang.Object
-
- net.rubyeye.xmemcached.command.Command
-
- net.rubyeye.xmemcached.command.text.TextVersionCommand
-
- All Implemented Interfaces:
WriteMessage,ServerAddressAware
public class TextVersionCommand extends Command implements ServerAddressAware
Version command for text protocol
-
-
Field Summary
Fields Modifier and Type Field Description java.net.InetSocketAddressserver-
Fields inherited from class net.rubyeye.xmemcached.command.Command
cancel, commandType, exception, ioBuffer, key, keyBytes, latch, mergeCount, noreply, REQUEST_MAGIC_NUMBER, RESPONSE_MAGIC_NUMBER, result, status, transcoder, writeFuture
-
Fields inherited from interface net.rubyeye.xmemcached.command.ServerAddressAware
VERSION
-
-
Constructor Summary
Constructors Constructor Description TextVersionCommand(java.util.concurrent.CountDownLatch latch, java.net.InetSocketAddress server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandecode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)voidencode()java.net.InetSocketAddressgetServer()voidsetServer(java.net.InetSocketAddress server)-
Methods inherited from class net.rubyeye.xmemcached.command.Command
cancel, countDownLatch, decodeError, decodeError, decodeError, decodeError, getCommandType, getCopiedMergeCount, getException, getIoBuffer, getKey, getKeyBytes, getLatch, getMergeCount, getMessage, getResult, getStatus, getTranscoder, getWriteBuffer, getWriteFuture, isAdded, isCancel, isNoreply, isWriting, setAdded, setCommandType, setException, setIoBuffer, setKey, setKeyBytes, setLatch, setMergeCount, setNoreply, setResult, setStatus, setTranscoder, setWriteBuffer, setWriteFuture, toString, writing
-
-
-
-
Method Detail
-
getServer
public final java.net.InetSocketAddress getServer()
- Specified by:
getServerin interfaceServerAddressAware
-
setServer
public final void setServer(java.net.InetSocketAddress server)
- Specified by:
setServerin interfaceServerAddressAware
-
decode
public final boolean decode(MemcachedTCPSession session, java.nio.ByteBuffer buffer)
-
-