Class BinaryMemcacheServerCodec
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.ChannelDuplexHandler
-
- io.netty.channel.CombinedChannelDuplexHandler<BinaryMemcacheRequestDecoder,BinaryMemcacheResponseEncoder>
-
- io.netty.handler.codec.memcache.binary.BinaryMemcacheServerCodec
-
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
,ChannelOutboundHandler
@UnstableApi public class BinaryMemcacheServerCodec extends CombinedChannelDuplexHandler<BinaryMemcacheRequestDecoder,BinaryMemcacheResponseEncoder>
The full server codec that combines the correct encoder and decoder. Use this codec if you need to implement a server that speaks the memcache binary protocol. Internally, it combines theBinaryMemcacheRequestDecoder
and theBinaryMemcacheResponseEncoder
to request decoding and response encoding.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
-
Constructor Summary
Constructors Constructor Description BinaryMemcacheServerCodec()
BinaryMemcacheServerCodec(int decodeChunkSize)
-
Method Summary
-
Methods inherited from class io.netty.channel.CombinedChannelDuplexHandler
bind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, inboundHandler, init, outboundHandler, read, removeInboundHandler, removeOutboundHandler, userEventTriggered, write
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, isSharable
-
-