首页 > 代码库 > Netty3 源码分析 - ChannelState
Netty3 源码分析 - ChannelState
Direction | State | Value | Meaning |
Upstream | OPEN | true | The channel is open. |
Upstream | OPEN | false | The channel is closed. |
Upstream | BOUND | SocketAddress | The channel is bound to a local address. |
Upstream | BOUND | null | The channel is unbound to a local address. |
Upstream | CONNECTED | SocketAddress | The channel is connected to a remote address. |
Upstream | CONNECTED | null | The channel is disconnected from a remote address. |
Upstream | INTEREST_OPS | an integer | The channel interestOps has been changed. |
Downstream | OPEN | true | N/A(因为通道创建的时候就打开了) |
Downstream | OPEN | false | Close the channel. |
Downstream | BOUND | SocketAddress | Bind the channel to the specified local address. |
Downstream | BOUND | null | Unbind the channel from the current local address. |
Downstream | CONNECTED | SocketAddress | Connect the channel to the specified remote address. |
Downstream | CONNECTED | null | Disconnect the channel from the current remote address. |
Downstream | INTEREST_OPS | an integer | Change the interestOps of the channel. |
Netty3 源码分析 - ChannelState