Class ProtobufDecoder

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

    public class ProtobufDecoder
    extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder
    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
      ProtobufDecoder​(akka.protobuf.Message prototype)  
    • Method Summary

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

        handleUpstream
      • Methods inherited from class java.lang.Object

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

      • ProtobufDecoder

        public ProtobufDecoder​(akka.protobuf.Message prototype)
    • Method Detail

      • decode

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