About SimpleChannelHandler.channelDisconnected
Clement Mathieu
clement.mathieu at activeeon.com
Wed Nov 3 15:25:38 EDT 2010
On Wed, 3 Nov 2010 11:54:21 -0700
tsuna <tsunanet at gmail.com> wrote:
> When the channel gets disconnected, you will get an upstream event (a
> ChannelStateEvent) informing you about the disconnection.
>
> When you disconnect the channel yourself [...] you'll get
> an upstream event (the same as you'd get in the previous case).
>
> That's how you can distinguish between the two.
Sounds like an elegant answer to my issue. I will give it a try
tomorrow. Thanks for your quick reply.
Clément MATHIEU
More information about the netty-users
mailing list