All of the information must be remembered.
public interface Channel extends Comparable<Channel>
A nexus to
a network socket or a component
which is capable of I/O operations such as read, write, connect, and bind.
A channel provides a user:
- the current state of the channel (e.g. is it open? is it connected?),
- the configuration parameters of the channel (e.g. receive buffer size),
- the I/O operations that the channel supports (e.g. read, write, connect, and bind), and
- the
ChannelPipelinewhich handles all I/O events and requests associated with the channel.
public class Bootstrap extends Object implements ExternalResourceReleasable
A helper class which
initializes a
Channel
. This class provides the common data structure for its subclasses which actually initialize
Channel
s and their child
Channel
s using the common data structure. Please refer to
ClientBootstrap
,
ServerBootstrap
, and
ConnectionlessBootstrap
for client side, server-side, and connectionless (e.g. UDP) channel initialization respectively.
理解网络通道与初始化助手
837

被折叠的 条评论
为什么被折叠?



