Saving Channel object
irwinbilling
irwin.billing at gmail.com
Fri Sep 23 17:05:49 EDT 2011
Is it safe to cache a channel object retrieved from
ChannelStateEvent.getChannel() and write to it during other events or from
other threads?
For example, if one SimpleChannelUpstreamHandler receives a message and the
logic requires that a message must be sent to another user (whose channel is
cached by another SimpleChannelUpstreamHandler in a global store), is it
safe to write to the second user's channel.
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Saving-Channel-object-tp6825727p6825727.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list