Simultaneous invocation of handlers

Michael McGrady mmcgrady at topiatechnology.com
Mon Oct 19 12:59:26 EDT 2009


You can, however, have the member variables cover collections that  
have members, which members can themselves be channel specific.  That  
way, you can have handlers that are stateful but for multiple channels  
and having the appropriate annotations.

Mike



On Oct 19, 2009, at 1:03 AM, Frederic Bregier wrote:

>
> Hi Dan,
>
> Each variables that are a member of the handler is visible each time  
> it is
> recalled for a new message.
> So the reason to create a new handler for a one-based channel handler,
> because if not, the same handler and so the same member variables  
> will be
> shared among all channels.





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