Package | Description |
---|---|
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).
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractChannelSink
A skeletal
ChannelSink implementation. |
Modifier and Type | Method and Description |
---|---|
ChannelSink |
DefaultChannelPipeline.getSink() |
ChannelSink |
ChannelPipeline.getSink()
Returns the
ChannelSink that this pipeline is attached to. |
ChannelSink |
StaticChannelPipeline.getSink()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultChannelPipeline.attach(Channel channel,
ChannelSink sink) |
void |
ChannelPipeline.attach(Channel channel,
ChannelSink sink)
Attaches this pipeline to the specified
Channel and
ChannelSink . |
void |
StaticChannelPipeline.attach(Channel channel,
ChannelSink sink)
Deprecated.
|
Constructor and Description |
---|
AbstractChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink)
Creates a new instance.
|
AbstractChannel(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.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractNioChannelSink |
Constructor and Description |
---|
NioSocketChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink,
SocketChannel socket,
NioWorker worker) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractOioChannelSink |
Copyright © 2008-2013 The Netty Project. All Rights Reserved.