Class ProtobufEncoder

  • All Implemented Interfaces:
    org.jboss.netty.channel.ChannelDownstreamHandler, org.jboss.netty.channel.ChannelHandler

    public class ProtobufEncoder
    extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
    INTERNAL API.
    • Nested Class Summary

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

        org.jboss.netty.channel.ChannelHandler.Sharable
    • Constructor Summary

      Constructors 
      Constructor Description
      ProtobufEncoder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object encode​(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel ch, java.lang.Object msg)  
      • Methods inherited from class org.jboss.netty.handler.codec.oneone.OneToOneEncoder

        doEncode, handleDownstream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtobufEncoder

        public ProtobufEncoder()
    • Method Detail

      • encode

        public java.lang.Object encode​(org.jboss.netty.channel.ChannelHandlerContext ctx,
                                       org.jboss.netty.channel.Channel ch,
                                       java.lang.Object msg)
        Specified by:
        encode in class org.jboss.netty.handler.codec.oneone.OneToOneEncoder