Netty Handler for Strings and Things

Michael McGrady mmcgrady at topiatechnology.com
Tue Aug 18 13:45:00 EDT 2009


Also, Iain, I have left the downstream handler, even though it is as  
yet undisturbed, because it will be disturbed.  Thanks for your  
suggestions.  Right on!

Mike

On Aug 18, 2009, at 2:22 AM, Iain McGinniss wrote:

> Hi Mike,
>
> No doubt you've stripped a lot of code out of what was attached  
> below to make it easier to see what was going on, but just in case  
> you hadn't: your code can be much more concisely expressed by  
> extending SimpleChannelUpstreamHandler, as you weren't manipulating  
> any of the downstream events and you only handle connected,  
> disconnected and message reception on upstream.
>
> <KarmaDecoder.java>
>
>
> I've stripped it down to what I see as the minimum without changing  
> any of the real code. Apologies if this was obvious to you and you  
> were splitting out all of the events manually for reasons that were  
> stripped out of your original code.
>
> Iain
>
> On 17 Aug 2009, at 23:48, Michael McGrady wrote:
>
>> Trustin,
>>
>> Here is the central class to the functionality mentioned earlier.
>>
>> Mike
> _______________________________________________
> 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