Sessions in Netty

"Trustin Lee (이희승)" trustin at gmail.com
Tue Dec 15 11:21:56 EST 2009


Hi Carl,

Thanks for amazingly precise answer. :)

On 2009/12/12 8:49 pm, Carl Byström wrote:
> 
> On Tue, Dec 8, 2009 at 10:00 AM, thatsanee <martin.rogan.inc at gmail.com
> <mailto:martin.rogan.inc at gmail.com>> wrote:
> 
>     ...
>     I would like to add session like behaviour to my Netty app. In MINA
>     I would
>     have set my app session in the IoSession attributes. Then it would be
>     available everywhere via the ubiquitous IoSession.
>     ...
> 
> 
> I think it's ChannelLocal you're looking for. It behaves like
> ThreadLocal and let's you put user specific attributes on each channel.
> 
> See the release notes of 3.1.0.ALPHA2
> http://www.jboss.org/netty/community.html#nabble-td1611591
> and the JavaDoc for ChannelLocal
> http://www.jboss.org/file-access/default/members/netty/freezone/api/3.1/org/jboss/netty/channel/ChannelLocal.html
> 
> --
> Carl
> 
> 
> 
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091216/6c3bf042/attachment.bin 


More information about the netty-users mailing list