org.jboss.netty.handler.codec.protobuf
类 ProtobufVarint32FrameDecoder

java.lang.Object
  继承者 org.jboss.netty.channel.SimpleChannelUpstreamHandler
      继承者 org.jboss.netty.handler.codec.frame.FrameDecoder
          继承者 org.jboss.netty.handler.codec.protobuf.ProtobufVarint32FrameDecoder
所有已实现的接口:
ChannelHandler, ChannelUpstreamHandler

public class ProtobufVarint32FrameDecoder
extends FrameDecoder

A decoder that splits the received ChannelBuffers dynamically by the value of the Google Protocol Buffers Base 128 Varints integer length field in the message. For example:

 BEFORE DECODE (302 bytes)       AFTER DECODE (300 bytes)
 +--------+---------------+      +---------------+
 | Length | Protobuf Data |----->| Protobuf Data |
 | 0xAC02 |  (300 bytes)  |      |  (300 bytes)  |
 +--------+---------------+      +---------------+
 

另请参见:
CodedInputStream

嵌套类摘要
 
从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口
ChannelHandler.Sharable
 
构造方法摘要
ProtobufVarint32FrameDecoder()
          Creates a new instance.
 
方法摘要
 
从类 org.jboss.netty.handler.codec.frame.FrameDecoder 继承的方法
channelClosed, channelDisconnected, exceptionCaught, messageReceived
 
从类 org.jboss.netty.channel.SimpleChannelUpstreamHandler 继承的方法
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ProtobufVarint32FrameDecoder

public ProtobufVarint32FrameDecoder()
Creates a new instance.