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