Help on Channel states of TCP/IP server

na9136 na9136 at gmail.com
Fri Aug 19 13:02:42 EDT 2011


Hello,

I just started using the Netty as the NIO framework in one of the projects
I'm currently working on. I went through the documentation and got started.
But I have some confusions on Channel states and its related events. 

When extending the SimpleChannelHandler there are some callback methods
(channelConnected(), channelBound(), channelClosed(), channelDisconnected(),
channelOpen(), channelUnbound()) which will be fired on the events such as
connected, bound, opened, disconnected, closed events. Could someone please
explain me these events/states? Which of them are applicable to TCP/IP
server? What's the real difference between them, (i.e. difference between
open and bond, close and disconnected)

Thanks a lot. :)

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Help-on-Channel-states-of-TCP-IP-server-tp6704156p6704156.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list