## 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-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).

- - ### Uses of ChannelFactory in org.jboss.netty.bootstrap

    Methods in org.jboss.netty.bootstrap that return ChannelFactory
    Modifier and Type | Method and Description
    --- | ---
    `ChannelFactory` | Bootstrap.`getFactory()` Returns the `ChannelFactory` 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 and Description
    --- | ---
    `void` | ServerBootstrap.`setFactory(ChannelFactory factory)` Sets the `ChannelFactory` 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.

    Constructors in org.jboss.netty.bootstrap with parameters of type ChannelFactory
    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`.

  - ### Uses of ChannelFactory in org.jboss.netty.channel

    Subinterfaces of ChannelFactory in org.jboss.netty.channel
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `ServerChannelFactory` A `ChannelFactory` that creates a `ServerChannel`.

    Methods in org.jboss.netty.channel that return ChannelFactory
    Modifier and Type | Method and Description
    --- | ---
    `ChannelFactory` | Channel.`getFactory()` Returns the `ChannelFactory` which created this channel.
    `ChannelFactory` | AbstractChannel.`getFactory()`

    Constructors in org.jboss.netty.channel with parameters of type ChannelFactory
    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.

  - ### Uses of ChannelFactory in org.jboss.netty.channel.local

    Subinterfaces of ChannelFactory in org.jboss.netty.channel.local
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `LocalClientChannelFactory` A `ChannelFactory` that creates a client-side `LocalChannel`.
    `interface` | `LocalServerChannelFactory` A `ServerChannelFactory` that creates a `LocalServerChannel`.

    Classes in org.jboss.netty.channel.local that implement ChannelFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultLocalClientChannelFactory` The default `LocalClientChannelFactory` implementation.
    `class` | `DefaultLocalServerChannelFactory` The default `LocalServerChannelFactory` implementation.

  - ### Uses of ChannelFactory in org.jboss.netty.channel.socket

    Subinterfaces of ChannelFactory in org.jboss.netty.channel.socket
    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`.

  - ### 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 and Description
    --- | ---
    `class` | `HttpTunnelingClientSocketChannelFactory` Creates a client-side `SocketChannel` which connects to an `HttpTunnelingServlet` to communicate with the server application behind the `HttpTunnelingServlet`.

    Methods in org.jboss.netty.channel.socket.http that return ChannelFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected ChannelFactory` | HttpTunnelingServlet.`createChannelFactory(SocketAddress remoteAddress)`

    Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelFactory
    Modifier and Type | Method and 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 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`.

    Constructors in org.jboss.netty.channel.socket.nio with parameters of type ChannelFactory
    Constructor and 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 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-2012 The Netty Project. All Rights Reserved.