## Uses of Interface
org.apache.mina.core.service.IoProcessor

- Packages that use IoProcessor
  Package | Description
  --- | ---
  org.apache.mina.core.polling | Base class for implementing transport based on active polling strategies like NIO select call, or any API based on I/O polling system calls (epoll, poll, select, kqueue, etc).
  org.apache.mina.core.service |
  org.apache.mina.core.session |
  org.apache.mina.transport.socket.apr |
  org.apache.mina.transport.socket.nio | Socket (TCP/IP) and Datagram (UDP/IP) support based on Java NIO (New I/O) API.

- - ### Uses of IoProcessor in org.apache.mina.core.polling

    Classes in org.apache.mina.core.polling that implement IoProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractPollingConnectionlessIoAcceptor<S extends AbstractIoSession,H>` `IoAcceptor` for datagram transport (UDP/IP).
    `class` | `AbstractPollingIoProcessor<S extends AbstractIoSession>` An abstract implementation of `IoProcessor` which helps transport developers to write an `IoProcessor` easily.

    Methods in org.apache.mina.core.polling with parameters of type IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract S` | AbstractPollingIoAcceptor.`accept(IoProcessor<S> processor, H handle)` Accept a client connection for a server socket and return a new `IoSession` associated with the given `IoProcessor`
    `protected abstract S` | AbstractPollingConnectionlessIoAcceptor.`newSession(IoProcessor<S> processor, H handle, SocketAddress remoteAddress)`
    `protected abstract T` | AbstractPollingIoConnector.`newSession(IoProcessor<T> processor, H handle)` Create a new `IoSession` from a connected socket client handle.

    Constructors in org.apache.mina.core.polling with parameters of type IoProcessor
    Constructor and Description
    `AbstractPollingIoAcceptor(IoSessionConfig sessionConfig, Executor executor, IoProcessor<S> processor)` Constructor for `AbstractPollingIoAcceptor`.
    `AbstractPollingIoAcceptor(IoSessionConfig sessionConfig, IoProcessor<S> processor)` Constructor for `AbstractPollingIoAcceptor`.
    `AbstractPollingIoConnector(IoSessionConfig sessionConfig, Executor executor, IoProcessor<T> processor)` Constructor for `AbstractPollingIoConnector`.
    `AbstractPollingIoConnector(IoSessionConfig sessionConfig, IoProcessor<T> processor)` Constructor for `AbstractPollingIoConnector`.

    Constructor parameters in org.apache.mina.core.polling with type arguments of type IoProcessor
    Constructor and Description
    `AbstractPollingIoAcceptor(IoSessionConfig sessionConfig, Class<? extends IoProcessor<S>> processorClass)` Constructor for `AbstractPollingIoAcceptor`.
    `AbstractPollingIoAcceptor(IoSessionConfig sessionConfig, Class<? extends IoProcessor<S>> processorClass, int processorCount)` Constructor for `AbstractPollingIoAcceptor`.
    `AbstractPollingIoConnector(IoSessionConfig sessionConfig, Class<? extends IoProcessor<T>> processorClass)` Constructor for `AbstractPollingIoConnector`.
    `AbstractPollingIoConnector(IoSessionConfig sessionConfig, Class<? extends IoProcessor<T>> processorClass, int processorCount)` Constructor for `AbstractPollingIoConnector`.

  - ### Uses of IoProcessor in org.apache.mina.core.service

    Classes in org.apache.mina.core.service that implement IoProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SimpleIoProcessorPool<S extends AbstractIoSession>` An `IoProcessor` pool that distributes `IoSession`s into one or more `IoProcessor`s.

    Constructor parameters in org.apache.mina.core.service with type arguments of type IoProcessor
    Constructor and Description
    `SimpleIoProcessorPool(Class<? extends IoProcessor<S>> processorType)` Creates a new instance of SimpleIoProcessorPool with a default size of NbCPUs +1.
    `SimpleIoProcessorPool(Class<? extends IoProcessor<S>> processorType, Executor executor)` Creates a new instance of SimpleIoProcessorPool with an executor
    `SimpleIoProcessorPool(Class<? extends IoProcessor<S>> processorType, Executor executor, int size)` Creates a new instance of SimpleIoProcessorPool with an executor
    `SimpleIoProcessorPool(Class<? extends IoProcessor<S>> processorType, int size)` Creates a new instance of SimpleIoProcessorPool with a defined number of IoProcessors in the pool

  - ### Uses of IoProcessor in org.apache.mina.core.session

    Methods in org.apache.mina.core.session that return IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `IoProcessor<AbstractIoSession>` | DummySession.`getProcessor()`
    `abstract IoProcessor` | AbstractIoSession.`getProcessor()`

  - ### Uses of IoProcessor in org.apache.mina.transport.socket.apr

    Classes in org.apache.mina.transport.socket.apr that implement IoProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AprIoProcessor` The class in charge of processing socket level IO events for the `AprSocketConnector`

    Methods in org.apache.mina.transport.socket.apr that return IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `IoProcessor<AprSession>` | AprSession.`getProcessor()`

    Methods in org.apache.mina.transport.socket.apr with parameters of type IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `protected AprSession` | AprSocketAcceptor.`accept(IoProcessor<AprSession> processor, Long handle)` Accept a client connection for a server socket and return a new `IoSession` associated with the given `IoProcessor`
    `protected AprSession` | AprSocketConnector.`newSession(IoProcessor<AprSession> processor, Long handle)` Create a new `IoSession` from a connected socket client handle.

    Constructors in org.apache.mina.transport.socket.apr with parameters of type IoProcessor
    Constructor and Description
    `AprSocketAcceptor(Executor executor, IoProcessor<AprSession> processor)` Constructor for `AprSocketAcceptor` with a given `Executor` for handling connection events and a given `AprIoProcessor` for handling I/O events, useful for sharing the same processor and executor over multiple `IoService` of the same type.
    `AprSocketAcceptor(IoProcessor<AprSession> processor)` Constructor for `AprSocketAcceptor` with default configuration but a specific `AprIoProcessor`, useful for sharing the same processor over multiple `IoService` of the same type.
    `AprSocketConnector(Executor executor, IoProcessor<AprSession> processor)` Constructor for `AprSocketConnector` with a given `Executor` for handling connection events and a given `IoProcessor` for handling I/O events, useful for sharing the same processor and executor over multiple `IoService` of the same type.
    `AprSocketConnector(IoProcessor<AprSession> processor)` Constructor for `AprSocketConnector` with default configuration but a specific `IoProcessor`, useful for sharing the same processor over multiple `IoService` of the same type.

  - ### Uses of IoProcessor in org.apache.mina.transport.socket.nio

    Classes in org.apache.mina.transport.socket.nio that implement IoProcessor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NioDatagramAcceptor` `IoAcceptor` for datagram transport (UDP/IP).
    `class` | `NioProcessor` TODO Add documentation

    Fields in org.apache.mina.transport.socket.nio declared as IoProcessor
    Modifier and Type | Field and Description
    --- | ---
    `protected IoProcessor<NioSession>` | NioSession.`processor` The NioSession processor

    Methods in org.apache.mina.transport.socket.nio that return IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `IoProcessor<NioSession>` | NioSession.`getProcessor()`

    Methods in org.apache.mina.transport.socket.nio with parameters of type IoProcessor
    Modifier and Type | Method and Description
    --- | ---
    `protected NioSession` | NioSocketAcceptor.`accept(IoProcessor<NioSession> processor, ServerSocketChannel handle)` Accept a client connection for a server socket and return a new `IoSession` associated with the given `IoProcessor`
    `protected NioSession` | NioDatagramConnector.`newSession(IoProcessor<NioSession> processor, DatagramChannel handle)`
    `protected NioSession` | NioDatagramAcceptor.`newSession(IoProcessor<NioSession> processor, DatagramChannel handle, SocketAddress remoteAddress)`
    `protected NioSession` | NioSocketConnector.`newSession(IoProcessor<NioSession> processor, SocketChannel handle)` Create a new `IoSession` from a connected socket client handle.

    Constructors in org.apache.mina.transport.socket.nio with parameters of type IoProcessor
    Constructor and Description
    `NioDatagramConnector(IoProcessor<NioSession> processor)` Creates a new instance.
    `NioSession(IoProcessor<NioSession> processor, IoService service, Channel channel)` Creates a new instance of NioSession, with its associated IoProcessor.
    `NioSocketAcceptor(Executor executor, IoProcessor<NioSession> processor)` Constructor for `NioSocketAcceptor` with a given `Executor` for handling connection events and a given `IoProcessor` for handling I/O events, useful for sharing the same processor and executor over multiple `IoService` of the same type.
    `NioSocketAcceptor(IoProcessor<NioSession> processor)` Constructor for `NioSocketAcceptor` with default configuration but a specific `IoProcessor`, useful for sharing the same processor over multiple `IoService` of the same type.
    `NioSocketConnector(Executor executor, IoProcessor<NioSession> processor)` Constructor for `NioSocketConnector` with a given `Executor` for handling connection events and a given `IoProcessor` for handling I/O events, useful for sharing the same processor and executor over multiple `IoService` of the same type.
    `NioSocketConnector(IoProcessor<NioSession> processor)` Constructor for `NioSocketConnector` with default configuration but a specific `IoProcessor`, useful for sharing the same processor over multiple `IoService` of the same type.

    Constructor parameters in org.apache.mina.transport.socket.nio with type arguments of type IoProcessor
    Constructor and Description
    `NioDatagramConnector(Class<? extends IoProcessor<NioSession>> processorClass)` Constructor for `NioDatagramConnector` with default configuration with default configuration which will use a built-in thread pool executor to manage the default number of processor instances.
    `NioDatagramConnector(Class<? extends IoProcessor<NioSession>> processorClass, int processorCount)` Constructor for `NioDatagramConnector` with default configuration which will use a built-in thread pool executor to manage the given number of processor instances.
    `NioSocketConnector(Class<? extends IoProcessor<NioSession>> processorClass)` Constructor for `NioSocketConnector` with default configuration with default configuration which will use a built-in thread pool executor to manage the default number of processor instances.
    `NioSocketConnector(Class<? extends IoProcessor<NioSession>> processorClass, int processorCount)` Constructor for `NioSocketConnector` with default configuration which will use a built-in thread pool executor to manage the given number of processor instances.

Copyright © 2004-2012 Apache MINA Project. All Rights Reserved.