Netty3 源码分析 - ChannelState
Direction |
State |
Value |
Meaning |
Upstream |
true |
The channel is open. |
|
Upstream |
false |
The channel is closed. |
|
Upstream |
The channel is bound to a local address. |
||
Upstream |
null |
The channel is unbound to a local address. |
|
Upstream |
The channel is connected to a remote address. |
||
Upstream |
null |
The channel is disconnected from a remote address. |
|
Upstream |
an integer |
The channel interestOps has been changed. |
|
Downstream |
true |
N/A(因为通道创建的时候就打开了) |
|
Downstream |
false |
Close the channel. |
|
Downstream |
Bind the channel to the specified local address. |
||
Downstream |
null |
Unbind the channel from the current local address. |
|
Downstream |
Connect the channel to the specified remote address. |
||
Downstream |
null |
Disconnect the channel from the current remote address. |
|
Downstream |
an integer |
Change the interestOps of the channel. |
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。