StringDecoder
Michael McGrady
mmcgrady at topiatechnology.com
Wed Aug 12 13:43:25 EDT 2009
This is a problem if you don't want a ChannelBuffer to be decoded when
it is not a buffer containing a string. String decoder would be more
useful, I think, if it only decoded strings and not other objects.
What do you think?
Mike
On Aug 11, 2009, at 7:34 PM, 이희승 (Trustin Lee) wrote:
> On 08/08/2009 09:14 AM, Mike McGrady wrote:
>> Doesn't the StringDecoder always decode? When would it not decode?
>
> StringDecoder and any other decoders will not decode an object unless
> the object is a ChannelBuffer. You could take advantage of this
> behavior and insert a series of decoders to implement a complicated
> decoder, although it will not be necessary to do so in most cases.
>
> Trustin
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
Mike McGrady
Principal Investigator AF081-028 AFRL SBIR
Senior Engineer
Topia Technology, Inc
1.253.720.3365
mmcgrady at topiatechnology.com
More information about the netty-users
mailing list