This commit is contained in:
Trustin Lee 2009-06-18 12:18:43 +00:00
parent 4d0facee9f
commit d4a8631e62

View File

@ -27,11 +27,11 @@ import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;
/**
* A decoder that decodes the received {@link ChannelBuffer}s that contain
* a message length field into a meaningfully framed {@link ChannelBuffer}.
* It is particularly useful when you decode a binary message which has an
* integer header field that represents the length of the message body or the
* whole message.
* A decoder that decodes the received {@link ChannelBuffer}s with a frame
* length field into a meaningfully framed {@link ChannelBuffer}. It is
* particularly useful when you decode a binary message which has an integer
* header field that represents the length of the message body or the whole
* message.
* <p>
* {@link LengthFieldBasedFrameDecoder} has many configuration parameters so
* that it can decode any message with a length field, which is often seen in