Uses of Interface
org.jboss.netty.channel.ChannelFactory
-
Packages that use ChannelFactory 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-sideSocketChannel
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). -
-
Uses of ChannelFactory in org.jboss.netty.bootstrap
Methods in org.jboss.netty.bootstrap that return ChannelFactory Modifier and Type Method Description ChannelFactory
Bootstrap. getFactory()
Returns theChannelFactory
that will be used to perform an I/O operation.Methods in org.jboss.netty.bootstrap with parameters of type ChannelFactory Modifier and Type Method Description void
Bootstrap. setFactory(ChannelFactory factory)
Sets theChannelFactory
that will be used to perform an I/O operation.void
ServerBootstrap. setFactory(ChannelFactory factory)
Sets theServerChannelFactory
that will be used to perform an I/O operation.Constructors in org.jboss.netty.bootstrap with parameters of type ChannelFactory Constructor Description Bootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initialChannelFactory
.ClientBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initialChannelFactory
.ConnectionlessBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initialChannelFactory
.ServerBootstrap(ChannelFactory channelFactory)
Creates a new instance with the specified initialChannelFactory
. -
Uses of ChannelFactory in org.jboss.netty.channel
Subinterfaces of ChannelFactory in org.jboss.netty.channel Modifier and Type Interface Description interface
ServerChannelFactory
AChannelFactory
that creates aServerChannel
.Methods in org.jboss.netty.channel that return ChannelFactory Modifier and Type Method Description ChannelFactory
AbstractChannel. getFactory()
ChannelFactory
Channel. getFactory()
Returns theChannelFactory
which created this channel.Constructors in org.jboss.netty.channel with parameters of type ChannelFactory Constructor Description AbstractChannel(Integer id, Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
(Internal use only) Creates a new temporary instance with the specified ID.AbstractChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
Creates a new instance.AbstractServerChannel(ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink)
Creates a new instance. -
Uses of ChannelFactory in org.jboss.netty.channel.local
Subinterfaces of ChannelFactory in org.jboss.netty.channel.local Modifier and Type Interface Description interface
LocalClientChannelFactory
AChannelFactory
that creates a client-sideLocalChannel
.interface
LocalServerChannelFactory
AServerChannelFactory
that creates aLocalServerChannel
.Classes in org.jboss.netty.channel.local that implement ChannelFactory Modifier and Type Class Description class
DefaultLocalClientChannelFactory
The defaultLocalClientChannelFactory
implementation.class
DefaultLocalServerChannelFactory
The defaultLocalServerChannelFactory
implementation. -
Uses of ChannelFactory in org.jboss.netty.channel.socket
Subinterfaces of ChannelFactory in org.jboss.netty.channel.socket Modifier and Type Interface Description interface
ClientSocketChannelFactory
AChannelFactory
which creates a client-sideSocketChannel
.interface
DatagramChannelFactory
AChannelFactory
which creates aDatagramChannel
.interface
ServerSocketChannelFactory
AChannelFactory
which creates aServerSocketChannel
. -
Uses of ChannelFactory in org.jboss.netty.channel.socket.http
Classes in org.jboss.netty.channel.socket.http that implement ChannelFactory Modifier and Type Class Description class
HttpTunnelingClientSocketChannelFactory
Creates a client-sideSocketChannel
which connects to anHttpTunnelingServlet
to communicate with the server application behind theHttpTunnelingServlet
.Methods in org.jboss.netty.channel.socket.http that return ChannelFactory Modifier and Type Method Description protected ChannelFactory
HttpTunnelingServlet. createChannelFactory(SocketAddress remoteAddress)
Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelFactory Modifier and Type Method Description protected void
HttpTunnelingServlet. destroyChannelFactory(ChannelFactory factory)
-
Uses of ChannelFactory in org.jboss.netty.channel.socket.nio
Classes in org.jboss.netty.channel.socket.nio that implement ChannelFactory Modifier and Type Class Description class
NioClientSocketChannelFactory
AClientSocketChannelFactory
which creates a client-side NIO-basedSocketChannel
.class
NioDatagramChannelFactory
ADatagramChannelFactory
that creates a NIO-based connectionlessDatagramChannel
.class
NioServerSocketChannelFactory
AServerSocketChannelFactory
which creates a server-side NIO-basedServerSocketChannel
.Constructors in org.jboss.netty.channel.socket.nio with parameters of type ChannelFactory Constructor Description NioSocketChannel(Channel parent, ChannelFactory factory, ChannelPipeline pipeline, ChannelSink sink, SocketChannel socket, NioWorker worker)
-
Uses of ChannelFactory in org.jboss.netty.channel.socket.oio
Classes in org.jboss.netty.channel.socket.oio that implement ChannelFactory Modifier and Type Class Description class
OioClientSocketChannelFactory
AClientSocketChannelFactory
which creates a client-side blocking I/O basedSocketChannel
.class
OioDatagramChannelFactory
ADatagramChannelFactory
which creates a blocking I/O basedDatagramChannel
.class
OioServerSocketChannelFactory
AServerSocketChannelFactory
which creates a server-side blocking I/O basedServerSocketChannel
.
-