## Uses of Interface
org.apache.mina.api.IoSession

- Packages that use IoSession
  Package | Description
  --- | ---
  org.apache.mina.api | Base API for the MINA library.
  org.apache.mina.coap.resource |
  org.apache.mina.filter.codec |
  org.apache.mina.filter.logging |
  org.apache.mina.filter.query |
  org.apache.mina.service |
  org.apache.mina.service.executor | Classes in charge of decoupling IoHandler event of the low level read/write/accept I/O threads ( `SelectorLoop` ).
  org.apache.mina.session |
  org.apache.mina.transport |
  org.apache.mina.transport.bio | Transport implementation base on blocking I/O `Socket`
  org.apache.mina.transport.nio | Transport implementations base on NIO (New I/O), `Channel`
  org.apache.mina.transport.udp | Shared plumber UDP transport implementations.

- - ### Uses of IoSession in org.apache.mina.api

    Methods in org.apache.mina.api that return types with arguments of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `IoFuture<IoSession>` | IoClient.`connect(SocketAddress remoteAddress)` Connects to the specified remote address.
    `Map<Long,IoSession>` | IoService.`getManagedSessions()` Returns the map of all sessions which are currently managed by this service.

    Methods in org.apache.mina.api with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | IoHandler.`exceptionCaught(IoSession session, Exception cause)` Invoked when any runtime exception is thrown during session processing (filters, unexpected error, etc..).
    `void` | AbstractIoHandler.`exceptionCaught(IoSession session, Exception cause)` Invoked when any runtime exception is thrown during session processing (filters, unexpected error, etc..).
    `void` | IoHandler.`messageReceived(IoSession session, Object message)` Invoked when a message is received.
    `void` | AbstractIoHandler.`messageReceived(IoSession session, Object message)` Invoked when a message is received.
    `void` | IoFilter.`messageReceived(IoSession session, Object message, ReadFilterChainController controller)` Invoked when a message is received.
    `void` | AbstractIoFilter.`messageReceived(IoSession session, Object message, ReadFilterChainController controller)` Invoked when a message is received.
    `void` | IoHandler.`messageSent(IoSession session, Object message)` Invoked when a high level message was written to the low level O/S buffer.
    `void` | IoFilter.`messageSent(IoSession session, Object message)` Invoked when a high level message was written to the low level O/S buffer.
    `void` | AbstractIoHandler.`messageSent(IoSession session, Object message)` Invoked when a high level message was written to the low level O/S buffer.
    `void` | AbstractIoFilter.`messageSent(IoSession session, Object message)` Invoked when a high level message was written to the low level O/S buffer.
    `void` | IoFilter.`messageWriting(IoSession session, WriteRequest message, WriteFilterChainController controller)` Invoked when a message is under writing.
    `void` | AbstractIoFilter.`messageWriting(IoSession session, WriteRequest message, WriteFilterChainController controller)` Invoked when a message is under writing.
    `void` | IoHandler.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | IoFilter.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | AbstractIoHandler.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | AbstractIoFilter.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | IoHandler.`sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
    `void` | IoFilter.`sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
    `void` | AbstractIoHandler.`sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
    `void` | AbstractIoFilter.`sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
    `void` | IoHandler.`sessionOpened(IoSession session)` Invoked when a connection has been opened.
    `void` | IoFilter.`sessionOpened(IoSession session)` Invoked when a connection has been opened.
    `void` | AbstractIoHandler.`sessionOpened(IoSession session)` Invoked when a connection has been opened.
    `void` | AbstractIoFilter.`sessionOpened(IoSession session)` Invoked when a connection has been opened.

  - ### Uses of IoSession in org.apache.mina.coap.resource

    Methods in org.apache.mina.coap.resource with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `CoapResponse` | ResourceHandler.`handle(CoapMessage request, IoSession session)` Generate the response for this request.
    `CoapMessage` | ResourceRegistry.`respond(CoapMessage request, IoSession session)` Response to a request : delegate it to the correct handler for the requested path.

  - ### Uses of IoSession in org.apache.mina.filter.codec

    Methods in org.apache.mina.filter.codec with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | ProtocolCodecFilter.`messageReceived(IoSession session, Object in, ReadFilterChainController controller)` Process the incoming message, calling the session decoder.
    `void` | ProtocolCodecFilter.`messageWriting(IoSession session, WriteRequest message, WriteFilterChainController controller)` Invoked when a message is under writing.
    `void` | ProtocolCodecFilter.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | ProtocolCodecFilter.`sessionOpened(IoSession session)` Invoked when a connection has been opened.

  - ### Uses of IoSession in org.apache.mina.filter.logging

    Methods in org.apache.mina.filter.logging with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingFilter.`messageReceived(IoSession session, Object message, ReadFilterChainController controller)` Invoked when a message is received.
    `void` | LoggingFilter.`messageSent(IoSession session, Object message)` Invoked when a high level message was written to the low level O/S buffer.
    `void` | LoggingFilter.`messageWriting(IoSession session, WriteRequest message, WriteFilterChainController controller)` Invoked when a message is under writing.
    `void` | LoggingFilter.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | LoggingFilter.`sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
    `void` | LoggingFilter.`sessionOpened(IoSession session)` Invoked when a connection has been opened.

  - ### Uses of IoSession in org.apache.mina.filter.query

    Methods in org.apache.mina.filter.query with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | RequestFilter.`messageReceived(IoSession session, Object message, ReadFilterChainController controller)`
    `IoFuture<RESPONSE>` | RequestFilter.`request(IoSession session, REQUEST request, long timeoutInMs)` Send a request message and provide a `IoFuture` for handling the response.
    `void` | RequestFilter.`sessionClosed(IoSession session)` Invoked when a connection is closed.
    `void` | RequestFilter.`sessionOpened(IoSession session)`

  - ### Uses of IoSession in org.apache.mina.service

    Methods in org.apache.mina.service that return types with arguments of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `Map<Long,IoSession>` | AbstractIoService.`getManagedSessions()` Returns the map of all sessions which are currently managed by this service.

  - ### Uses of IoSession in org.apache.mina.service.executor

    Methods in org.apache.mina.service.executor that return IoSession
    Modifier and Type | Method and Description
    --- | ---
    `IoSession` | SentEvent.`getSession()` The session of this event.
    `IoSession` | ReceiveEvent.`getSession()` The session of this event.
    `IoSession` | OpenEvent.`getSession()` The session of this event.
    `IoSession` | IdleEvent.`getSession()` The session of this event.
    `IoSession` | Event.`getSession()` The session of this event.
    `IoSession` | CloseEvent.`getSession()` The session of this event.

    Constructors in org.apache.mina.service.executor with parameters of type IoSession
    Constructor and Description
    `CloseEvent(IoSession session)`
    `IdleEvent(IoSession session, IdleStatus status)`
    `OpenEvent(IoSession session)`
    `ReceiveEvent(IoSession session, Object message)`
    `SentEvent(IoSession session, Object message)`

  - ### Uses of IoSession in org.apache.mina.session

    Classes in org.apache.mina.session that implement IoSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractIoSession` Base implementation of `IoSession` shared with all the different transports.

  - ### Uses of IoSession in org.apache.mina.transport

    Methods in org.apache.mina.transport with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | ConnectFuture.`complete(IoSession session)` session connected

  - ### Uses of IoSession in org.apache.mina.transport.bio

    Classes in org.apache.mina.transport.bio that implement IoSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BioUdpSession` A `IoSession` for `BioUdpServer`

    Methods in org.apache.mina.transport.bio that return types with arguments of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `IoFuture<IoSession>` | BioUdpServer.`connect(SocketAddress remoteAddress)`

  - ### Uses of IoSession in org.apache.mina.transport.nio

    Classes in org.apache.mina.transport.nio that implement IoSession
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractNioSession` Common ancestor for NIO based `IoSession` implmentation.
    `class` | `NioTcpSession` A NIO based TCP session, should be used by `NioTcpServer` and `NioTcpClient`.
    `class` | `NioUdpSession` A UDP session based on NIO

    Methods in org.apache.mina.transport.nio that return types with arguments of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `IoFuture<IoSession>` | NioUdpServer.`connect(SocketAddress remoteAddress)`
    `IoFuture<IoSession>` | NioUdpClient.`connect(SocketAddress remoteAddress)` Connects to the specified remote address.
    `IoFuture<IoSession>` | NioTcpClient.`connect(SocketAddress remoteAddress)` Connects to the specified remote address.
    `IoFuture<IoSession>` | NioUdpClient.`connect(SocketAddress remoteAddress, SocketAddress localAddress)` Connects to the specified remote address binding to the specified local address.

    Constructors in org.apache.mina.transport.nio with parameters of type IoSession
    Constructor and Description
    `SslHelper(IoSession session, SSLContext sslContext)` Create a new SSL Handler.

  - ### Uses of IoSession in org.apache.mina.transport.udp

    Methods in org.apache.mina.transport.udp that return types with arguments of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `abstract IoFuture<IoSession>` | AbstractUdpClient.`connect(SocketAddress remoteAddress, SocketAddress localAddress)` Connects to the specified remote address binding to the specified local address.

    Methods in org.apache.mina.transport.udp with parameters of type IoSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractUdpServer.`initSecured(IoSession session)`

Copyright © 2009–2013 Apache MINA Project. All rights reserved.