Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netty 4.0 Channel Local

Tags:

netty

I am using Netty 4(alpha8).

I want to share some data between ChannelHanders in a pipeline, in previous versions of Netty I think I would have used a ChannelLocal, is there a Netty 4 equivalent?

like image 508
Derek Troy-West Avatar asked Dec 07 '25 21:12

Derek Troy-West


1 Answers

Found the answer shortly after I posted my question.

I need to use the attribute map available on the Channel:

http://netty.io/wiki/new-and-noteworthy.html

like image 199
Derek Troy-West Avatar answered Dec 12 '25 09:12

Derek Troy-West



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!