Class BinaryMemcacheServerCodec

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler, io.netty.channel.ChannelOutboundHandler

    @UnstableApi
    public class BinaryMemcacheServerCodec
    extends io.netty.channel.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 the BinaryMemcacheRequestDecoder and the BinaryMemcacheResponseEncoder to request decoding and response encoding.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • 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
    • Constructor Detail

      • BinaryMemcacheServerCodec

        public BinaryMemcacheServerCodec()
      • BinaryMemcacheServerCodec

        public BinaryMemcacheServerCodec​(int decodeChunkSize)