StringDecoder

Mike McGrady mmcgrady at topiatechnology.com
Sun Aug 16 23:55:53 EDT 2009


I have implemented this indepedently.  When I finish what I am  
presently doing you will see the code.

Sent from my iPhone

On Aug 16, 2009, at 6:56 PM, "이희승 (Trustin Lee)"  
<trustin at gmail.com> wrote:

> Hi Mike,
>
> That is a difficult problem to tackle.  How do we determine if the
> received data is a string or not?  Even binary data could contain some
> text as a part of it.
>
> Trustin
>
> On 08/13/2009 02:43 AM, Michael McGrady wrote:
>> 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
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users



More information about the netty-users mailing list