Package net.rubyeye.xmemcached.codec
Class MemcachedDecoder
- java.lang.Object
-
- net.rubyeye.xmemcached.codec.MemcachedDecoder
-
- All Implemented Interfaces:
CodecFactory.Decoder
public class MemcachedDecoder extends java.lang.Object implements CodecFactory.Decoder
Memcached protocol decoder
-
-
Field Summary
Fields Modifier and Type Field Description static org.slf4j.Logger
log
static ByteBufferMatcher
SPLIT_MATCHER
shift-and algorithm for ByteBuffer's match
-
Constructor Summary
Constructors Constructor Description MemcachedDecoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
decode(IoBuffer buffer, Session origSession)
private java.lang.Object
decode0(IoBuffer buffer, MemcachedTCPSession session)
-
-
-
Field Detail
-
log
public static final org.slf4j.Logger log
-
SPLIT_MATCHER
public static final ByteBufferMatcher SPLIT_MATCHER
shift-and algorithm for ByteBuffer's match
-
-
Method Detail
-
decode
public java.lang.Object decode(IoBuffer buffer, Session origSession)
- Specified by:
decode
in interfaceCodecFactory.Decoder
-
decode0
private java.lang.Object decode0(IoBuffer buffer, MemcachedTCPSession session)
-
-