程序包 | 说明 |
---|---|
org.jboss.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
org.jboss.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractChannelSink
A skeletal
ChannelSink implementation. |
限定符和类型 | 方法和说明 |
---|---|
ChannelSink |
DefaultChannelPipeline.getSink() |
ChannelSink |
ChannelPipeline.getSink()
Returns the
ChannelSink that this pipeline is attached to. |
限定符和类型 | 方法和说明 |
---|---|
void |
DefaultChannelPipeline.attach(Channel channel,
ChannelSink sink) |
void |
ChannelPipeline.attach(Channel channel,
ChannelSink sink)
Attaches this pipeline to the specified
Channel and
ChannelSink . |
构造器和说明 |
---|
AbstractChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink)
Creates a new instance.
|
AbstractChannel(java.lang.Integer id,
Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink)
(Internal use only) Creates a new temporary instance with the specified
ID.
|
AbstractServerChannel(ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink)
Creates a new instance.
|
限定符和类型 | 类和说明 |
---|---|
class |
AbstractNioChannelSink |
构造器和说明 |
---|
NioSocketChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink,
java.nio.channels.SocketChannel socket,
NioWorker worker) |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractOioChannelSink |