Package | Description |
---|---|
org.jboss.netty.bootstrap |
IoC/DI friendly helper classes which enable an easy implementation of
typical client side and server side channel initialization.
|
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.local |
A virtual transport that enables the communication between the two
parties in the same virtual machine.
|
org.jboss.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
org.jboss.netty.channel.socket.http |
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network. |
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 | Method and Description |
---|---|
ChannelFactory |
Bootstrap.getFactory()
Returns the
ChannelFactory that will be used to perform an
I/O operation. |
Modifier and Type | Method and Description |
---|---|
void |
ServerBootstrap.setFactory(ChannelFactory factory)
Sets the
ServerChannelFactory that will be used to perform an I/O
operation. |
void |
Bootstrap.setFactory(ChannelFactory factory)
Sets the
ChannelFactory that will be used to perform an I/O
operation. |
Constructor and Description |
---|
Bootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initial
ChannelFactory . |
ClientBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initial
ChannelFactory . |
ConnectionlessBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initial
ChannelFactory . |
ServerBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initial
ChannelFactory . |
Modifier and Type | Interface and Description |
---|---|
interface |
ServerChannelFactory
A
ChannelFactory that creates a ServerChannel . |
Modifier and Type | Method and Description |
---|---|
ChannelFactory |
Channel.getFactory()
Returns the
ChannelFactory which created this channel. |
ChannelFactory |
AbstractChannel.getFactory() |
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 | Interface and Description |
---|---|
interface |
LocalClientChannelFactory
A
ChannelFactory that creates a client-side LocalChannel . |
interface |
LocalServerChannelFactory
A
ServerChannelFactory that creates a LocalServerChannel . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultLocalClientChannelFactory
The default
LocalClientChannelFactory implementation. |
class |
DefaultLocalServerChannelFactory
The default
LocalServerChannelFactory implementation. |
Modifier and Type | Interface and Description |
---|---|
interface |
ClientSocketChannelFactory
A
ChannelFactory which creates a client-side SocketChannel . |
interface |
DatagramChannelFactory
A
ChannelFactory which creates a DatagramChannel . |
interface |
ServerSocketChannelFactory
A
ChannelFactory which creates a ServerSocketChannel . |
Modifier and Type | Class and Description |
---|---|
class |
HttpTunnelingClientSocketChannelFactory
Creates a client-side
SocketChannel which connects to an
HttpTunnelingServlet to communicate with the server application
behind the HttpTunnelingServlet . |
Modifier and Type | Method and Description |
---|---|
protected ChannelFactory |
HttpTunnelingServlet.createChannelFactory(SocketAddress remoteAddress) |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpTunnelingServlet.destroyChannelFactory(ChannelFactory factory) |
Modifier and Type | Class and Description |
---|---|
class |
NioClientSocketChannelFactory
A
ClientSocketChannelFactory which creates a client-side NIO-based
SocketChannel . |
class |
NioDatagramChannelFactory
A
DatagramChannelFactory that creates a NIO-based connectionless
DatagramChannel . |
class |
NioServerSocketChannelFactory
A
ServerSocketChannelFactory which creates a server-side NIO-based
ServerSocketChannel . |
Constructor and Description |
---|
NioSocketChannel(Channel parent,
ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink,
SocketChannel socket,
NioWorker worker) |
Modifier and Type | Class and Description |
---|---|
class |
OioClientSocketChannelFactory
A
ClientSocketChannelFactory which creates a client-side blocking
I/O based SocketChannel . |
class |
OioDatagramChannelFactory
A
DatagramChannelFactory which creates a blocking I/O based
DatagramChannel . |
class |
OioServerSocketChannelFactory
A
ServerSocketChannelFactory which creates a server-side blocking
I/O based ServerSocketChannel . |
Copyright © 2008-2014 The Netty Project. All Rights Reserved.