|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||
java.lang.Objectorg.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.handler.codec.frame.FrameDecoder
org.jboss.netty.handler.codec.frame.FixedLengthFrameDecoder
public class FixedLengthFrameDecoder

A decoder that splits the received ChannelBuffers by the fixed number
of bytes. For example, if you received the following four fragmented packets:
+---+----+------+----+ | A | BC | DEFG | HI | +---+----+------+----+A
FixedLengthFrameDecoder(3) will decode them into the
following three packets with the fixed length:
+-----+-----+-----+ | ABC | DEF | GHI | +-----+-----+-----+
| 嵌套类摘要 |
|---|
| 从接口 org.jboss.netty.channel.ChannelHandler 继承的嵌套类/接口 |
|---|
ChannelHandler.Sharable |
| 构造方法摘要 | |
|---|---|
FixedLengthFrameDecoder(int frameLength)
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 |
| 构造方法详细信息 |
|---|
public FixedLengthFrameDecoder(int frameLength)
frameLength - the length of the frame
|
|||||||||
| 上一个类 下一个类 | 框架 无框架 | ||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | ||||||||