Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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

Packages that use IoSession
org.apache.mina.common | Common types required for users to use MINA.
org.apache.mina.filter | Useful `IoFilter` implementations.
org.apache.mina.filter.codec | Filter implementations that helps you to implement complex protocols via 'codec' concept.
org.apache.mina.filter.codec.demux | Protocol codecs that helps you to implement even more complex protocols by splitting a codec into multiple sub-codecs.
org.apache.mina.filter.codec.netty | Protocol codec which provides the integration with Netty2 messages.
org.apache.mina.filter.codec.serialization | Protocol codecs which uses Java object serilization and leads to rapid protocol implementation.
org.apache.mina.filter.codec.textline | A protocol codec for text-based protocols.
org.apache.mina.filter.executor | An `IoFilter` that provides flexible thread models
org.apache.mina.handler | Useful `IoHandler` implementations.
org.apache.mina.handler.chain | A handler implementation that helps you implement sequentially layered protocols using Chains of Responsibility pattern.
org.apache.mina.handler.demux | A handler implementation that helps you implement complex protocols by splitting `messageReceived` handlers into multiple sub-handlers.
org.apache.mina.handler.multiton | Enables creating a handler per session instead of having one handler for many sessions, using Multiton pattern.
org.apache.mina.integration.jmx | JMX (Java Management eXtension) integration.
org.apache.mina.util | Miscellaneous utility classes

Uses of IoSession in org.apache.mina.common

Subinterfaces of IoSession in org.apache.mina.common
`interface` | `BroadcastIoSession` An `IoSession` for broadcast transports.

Methods in org.apache.mina.common that return IoSession
`IoSession` | `IoFilterChain.getSession()` Returns the parent `IoSession` of this chain.
`IoSession` | `ConnectFuture.getSession()` Returns `IoSession` which is the result of connect operation.
`IoSession` | `IoFuture.getSession()` Returns the `IoSession` which is associated with this future.
`IoSession` | `IoAcceptor.newSession(SocketAddress remoteAddress, SocketAddress localAddress)` (Optional) Returns an `IoSession` that is bound to the specified `localAddress` and `remoteAddress` which reuses the `localAddress` that is already bound by `IoAcceptor` via `IoAcceptor.bind(SocketAddress, IoHandler)`.
`IoSession` | `IoSessionRecycler.recycle(SocketAddress localAddress, SocketAddress remoteAddress)` Attempts to retrieve a recycled `IoSession`.
`IoSession` | `ExpiringSessionRecycler.recycle(SocketAddress localAddress, SocketAddress remoteAddress)`

Methods in org.apache.mina.common that return types with arguments of type IoSession
`Set<IoSession>` | `IoService.getManagedSessions(SocketAddress serviceAddress)` Returns all sessions with the specified remote or local address, which are currently managed by this service.

Methods in org.apache.mina.common with parameters of type IoSession
`void` | `IoFilter.exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, Throwable cause)` Filters `IoHandler.exceptionCaught(IoSession,Throwable)` event.
`void` | `IoFilterAdapter.exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, Throwable cause)`
`void` | `IoFilter.NextFilter.exceptionCaught(IoSession session, Throwable cause)` Forwards `exceptionCaught` event to next filter.
`void` | `IoHandlerAdapter.exceptionCaught(IoSession session, Throwable cause)`
`void` | `IoHandler.exceptionCaught(IoSession session, Throwable cause)` Invoked when any exception is thrown by user `IoHandler` implementation or by MINA.
`void` | `IoFilter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)` Filters `close()` method invocation.
`void` | `IoFilterAdapter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `IoFilter.NextFilter.filterClose(IoSession session)` Forwards `filterClose` event to next filter.
`void` | `IoFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)` Filters `write(Object)` method invocation.
`void` | `IoFilterAdapter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `IoFilter.NextFilter.filterWrite(IoSession session, IoFilter.WriteRequest writeRequest)` Forwards `filterWrite` event to next filter.
`void` | `IoFilterChain.fireExceptionCaught(IoSession session, Throwable cause)` Fires a `IoHandler.exceptionCaught(IoSession, Throwable)` event.
`void` | `IoFilterChain.fireFilterClose(IoSession session)` Fires a `close()` event.
`void` | `IoFilterChain.fireFilterWrite(IoSession session, IoFilter.WriteRequest writeRequest)` Fires a `write(Object)` event.
`void` | `IoFilterChain.fireMessageReceived(IoSession session, Object message)` Fires a `IoFilterChain.fireMessageReceived(IoSession, Object)` event.
`void` | `IoFilterChain.fireMessageSent(IoSession session, IoFilter.WriteRequest request)` Fires a `IoHandler.sessionOpened(IoSession)` event.
`void` | `IoFilterChain.fireSessionClosed(IoSession session)` Fires a `IoHandler.sessionClosed(IoSession)` event.
`void` | `IoFilterChain.fireSessionCreated(IoSession session)` Fires a `IoHandler.sessionCreated(IoSession)` event.
`void` | `IoFilterChain.fireSessionIdle(IoSession session, IdleStatus status)` Fires a `IoHandler.sessionIdle(IoSession, IdleStatus)` event.
`void` | `IoFilterChain.fireSessionOpened(IoSession session)` Fires a `IoHandler.sessionOpened(IoSession)` event.
`void` | `IoFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)` Filters `IoHandler.messageReceived(IoSession,Object)` event.
`void` | `IoFilterAdapter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `IoFilter.NextFilter.messageReceived(IoSession session, Object message)` Forwards `messageReceived` event to next filter.
`void` | `IoHandlerAdapter.messageReceived(IoSession session, Object message)`
`void` | `IoHandler.messageReceived(IoSession session, Object message)` Invoked when a message is received.
`void` | `IoFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)` Filters `IoHandler.messageSent(IoSession,Object)` event.
`void` | `IoFilterAdapter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `IoFilter.NextFilter.messageSent(IoSession session, Object message)` Forwards `messageSent` event to next filter.
`void` | `IoHandlerAdapter.messageSent(IoSession session, Object message)`
`void` | `IoHandler.messageSent(IoSession session, Object message)` Invoked when a message written by `write(Object)` is sent out.
`void` | `IoSessionRecycler.put(IoSession session)` Called when the underlying transport creates or writes a new `IoSession`.
`void` | `ExpiringSessionRecycler.put(IoSession session)`
`void` | `IoSessionRecycler.remove(IoSession session)` Called when an `IoSession` is explicitly closed.
`void` | `ExpiringSessionRecycler.remove(IoSession session)`
`void` | `IoFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)` Filters `IoHandler.sessionClosed(IoSession)` event.
`void` | `IoFilterAdapter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `IoFilter.NextFilter.sessionClosed(IoSession session)` Forwards `sessionClosed` event to next filter.
`void` | `IoHandlerAdapter.sessionClosed(IoSession session)`
`void` | `IoHandler.sessionClosed(IoSession session)` Invoked when a connection is closed.
`void` | `IoFilter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)` Filters `IoHandler.sessionCreated(IoSession)` event.
`void` | `IoFilterAdapter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `IoFilter.NextFilter.sessionCreated(IoSession session)` Forwards `sessionCreated` event to next filter.
`void` | `IoHandlerAdapter.sessionCreated(IoSession session)`
`void` | `IoHandler.sessionCreated(IoSession session)` Invoked from an I/O processor thread when a new connection has been created.
`void` | `IoServiceListener.sessionCreated(IoSession session)` Invoked when a new session is created by an `IoService`.
`void` | `IoServiceListener.sessionDestroyed(IoSession session)` Invoked when a session is being destroyed by an `IoService`.
`void` | `IoFilter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)` Filters `IoHandler.sessionIdle(IoSession,IdleStatus)` event.
`void` | `IoFilterAdapter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)`
`void` | `IoFilter.NextFilter.sessionIdle(IoSession session, IdleStatus status)` Forwards `sessionIdle` event to next filter.
`void` | `IoHandlerAdapter.sessionIdle(IoSession session, IdleStatus status)`
`void` | `IoHandler.sessionIdle(IoSession session, IdleStatus status)` Invoked with the related `IdleStatus` when a connection becomes idle.
`void` | `IoFilter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)` Filters `IoHandler.sessionOpened(IoSession)` event.
`void` | `IoFilterAdapter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `IoFilter.NextFilter.sessionOpened(IoSession session)` Forwards `sessionOpened` event to next filter.
`void` | `IoHandlerAdapter.sessionOpened(IoSession session)`
`void` | `IoHandler.sessionOpened(IoSession session)` Invoked when a connection has been opened.
`void` | `ConnectFuture.setSession(IoSession session)` Sets the newly connected session and notifies all threads waiting for this future.

Uses of IoSession in org.apache.mina.filter

Methods in org.apache.mina.filter with parameters of type IoSession
`void` | `LoggingFilter.exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, Throwable cause)`
`void` | `ReferenceCountingIoFilter.exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, Throwable cause)`
`void` | `SSLFilter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `LoggingFilter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ReferenceCountingIoFilter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `CompressionFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `SSLFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `LoggingFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `StreamWriteFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `ReferenceCountingIoFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`SSLSession` | `SSLFilter.getSSLSession(IoSession session)` Returns the underlying `SSLSession` for the specified session.
`boolean` | `SSLFilter.isSSLStarted(IoSession session)` Returns `true` if and only if the specified `session` is encrypted/decrypted over SSL/TLS currently.
`void` | `CompressionFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `SSLFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `LoggingFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `BlacklistFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `ReferenceCountingIoFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `SSLFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `LoggingFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `StreamWriteFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `BlacklistFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `ReferenceCountingIoFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `SSLFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `LoggingFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `BlacklistFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ReferenceCountingIoFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `LoggingFilter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `BlacklistFilter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ReferenceCountingIoFilter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `LoggingFilter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)`
`void` | `BlacklistFilter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)`
`void` | `ReferenceCountingIoFilter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)`
`void` | `LoggingFilter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `BlacklistFilter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ReferenceCountingIoFilter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)`
`boolean` | `SSLFilter.startSSL(IoSession session)` (Re)starts SSL session for the specified `session` if not started yet.
`WriteFuture` | `SSLFilter.stopSSL(IoSession session)` Stops the SSL session by sending TLS `close_notify` message to initiate TLS closure.

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

Methods in org.apache.mina.filter.codec with parameters of type IoSession
`void` | `SynchronizedProtocolDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)`
`void` | `CumulativeProtocolDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)` Cumulates content of `in` into internal buffer and forwards decoding request to `CumulativeProtocolDecoder.doDecode(IoSession, ByteBuffer, ProtocolDecoderOutput)`.
`void` | `ProtocolDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)` Decodes binary or protocol-specific content into higher-level message objects.
`void` | `ProtocolDecoderAdapter.dispose(IoSession session)` Override this method to dispose all resources related with this decoder.
`void` | `ProtocolEncoderAdapter.dispose(IoSession session)` Override this method dispose all resources related with this encoder.
`void` | `SynchronizedProtocolDecoder.dispose(IoSession session)`
`void` | `CumulativeProtocolDecoder.dispose(IoSession session)` Releases the cumulative buffer used by the specified `session`.
`void` | `SynchronizedProtocolEncoder.dispose(IoSession session)`
`void` | `ProtocolDecoder.dispose(IoSession session)` Releases all resources related with this decoder.
`void` | `ProtocolEncoder.dispose(IoSession session)` Releases all resources related with this encoder.
`protected abstract boolean` | `CumulativeProtocolDecoder.doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)` Implement this method to consume the specified cumulative buffer and decode its content into message(s).
`void` | `SynchronizedProtocolEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)`
`void` | `ProtocolEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)` Encodes higher-level message objects into binary or protocol-specific data.
`void` | `ProtocolCodecFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `ProtocolDecoderAdapter.finishDecode(IoSession session, ProtocolDecoderOutput out)` Override this method to deal with the closed connection.
`void` | `SynchronizedProtocolDecoder.finishDecode(IoSession session, ProtocolDecoderOutput out)`
`void` | `ProtocolDecoder.finishDecode(IoSession session, ProtocolDecoderOutput out)` Invoked when the specified `session` is closed.
`void` | `ProtocolCodecFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `ProtocolCodecFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `ProtocolCodecFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`

Uses of IoSession in org.apache.mina.filter.codec.demux

Methods in org.apache.mina.filter.codec.demux with parameters of type IoSession
`MessageDecoderResult` | `MessageDecoder.decodable(IoSession session, ByteBuffer in)` Checks the specified buffer is decodable by this decoder.
`MessageDecoderResult` | `MessageDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)` Decodes binary or protocol-specific content into higher-level message objects.
`protected void` | `DemuxingProtocolCodecFactory.disposeCodecResources(IoSession session)` Implement this method to release all resources acquired to perform encoding and decoding messages for the specified `session`.
`void` | `MessageEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)` Encodes higher-level message objects into binary or protocol-specific data.
`void` | `MessageDecoderAdapter.finishDecode(IoSession session, ProtocolDecoderOutput out)` Override this method to deal with the closed connection.
`void` | `MessageDecoder.finishDecode(IoSession session, ProtocolDecoderOutput out)` Invoked when the specified `session` is closed while this decoder was parsing the data.

Uses of IoSession in org.apache.mina.filter.codec.netty

Methods in org.apache.mina.filter.codec.netty with parameters of type IoSession
`void` | `NettyDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)`
`void` | `NettyEncoder.dispose(IoSession session)`
`void` | `NettyEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)`

Uses of IoSession in org.apache.mina.filter.codec.serialization

Methods in org.apache.mina.filter.codec.serialization with parameters of type IoSession
`protected boolean` | `ObjectSerializationDecoder.doDecode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)`
`void` | `ObjectSerializationEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)`

Uses of IoSession in org.apache.mina.filter.codec.textline

Methods in org.apache.mina.filter.codec.textline with parameters of type IoSession
`void` | `TextLineDecoder.decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out)`
`void` | `TextLineDecoder.dispose(IoSession session)`
`void` | `TextLineEncoder.encode(IoSession session, Object message, ProtocolEncoderOutput out)`
`void` | `TextLineDecoder.finishDecode(IoSession session, ProtocolDecoderOutput out)`

Uses of IoSession in org.apache.mina.filter.executor

Methods in org.apache.mina.filter.executor with parameters of type IoSession
`void` | `ExecutorFilter.exceptionCaught(IoFilter.NextFilter nextFilter, IoSession session, Throwable cause)`
`void` | `ExecutorFilter.filterClose(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ExecutorFilter.filterWrite(IoFilter.NextFilter nextFilter, IoSession session, IoFilter.WriteRequest writeRequest)`
`void` | `ExecutorFilter.messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`void` | `ExecutorFilter.messageSent(IoFilter.NextFilter nextFilter, IoSession session, Object message)`
`protected void` | `ExecutorFilter.processEvent(IoFilter.NextFilter nextFilter, IoSession session, ExecutorFilter.EventType type, Object data)`
`void` | `ExecutorFilter.sessionClosed(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ExecutorFilter.sessionCreated(IoFilter.NextFilter nextFilter, IoSession session)`
`void` | `ExecutorFilter.sessionIdle(IoFilter.NextFilter nextFilter, IoSession session, IdleStatus status)`
`void` | `ExecutorFilter.sessionOpened(IoFilter.NextFilter nextFilter, IoSession session)`

Uses of IoSession in org.apache.mina.handler

Methods in org.apache.mina.handler with parameters of type IoSession
`void` | `StreamIoHandler.exceptionCaught(IoSession session, Throwable cause)` Forwards caught exceptions to input stream.
`void` | `StreamIoHandler.messageReceived(IoSession session, Object buf)` Forwards read data to input stream.
`protected abstract void` | `StreamIoHandler.processStreamIo(IoSession session, InputStream in, OutputStream out)` Implement this method to execute your stream I/O logic; please note that you must forward the process request to other thread or thread pool.
`void` | `StreamIoHandler.sessionClosed(IoSession session)` Closes streams
`void` | `StreamIoHandler.sessionIdle(IoSession session, IdleStatus status)` Handles read timeout.
`void` | `StreamIoHandler.sessionOpened(IoSession session)` Initializes streams and timeout settings.

Uses of IoSession in org.apache.mina.handler.chain

Methods in org.apache.mina.handler.chain with parameters of type IoSession
`void` | `IoHandlerChain.execute(IoHandlerCommand.NextCommand next, IoSession session, Object message)`
`void` | `IoHandlerCommand.execute(IoHandlerCommand.NextCommand next, IoSession session, Object message)` Execute a unit of processing work to be performed.
`void` | `IoHandlerCommand.NextCommand.execute(IoSession session, Object message)` Forwards the request to the next `IoHandlerCommand` in the `IoHandlerChain`.
`void` | `ChainedIoHandler.messageReceived(IoSession session, Object message)` Handles the specified `messageReceived` event with the `IoHandlerCommand` or `IoHandlerChain` you specified in the constructor.

Uses of IoSession in org.apache.mina.handler.demux

Methods in org.apache.mina.handler.demux with parameters of type IoSession
`void` | `MessageHandler.messageReceived(IoSession session, E message)` Invoked when the specific type of message is received from the specified `session`.
`void` | `DemuxingIoHandler.messageReceived(IoSession session, Object message)` Forwards the received events into the appropriate `MessageHandler` which is registered by `DemuxingIoHandler.addMessageHandler(Class, MessageHandler)`.

Uses of IoSession in org.apache.mina.handler.multiton

Methods in org.apache.mina.handler.multiton that return IoSession
`protected IoSession` | `SingleSessionIoHandlerAdapter.getSession()` Retrieves the session to which this handler is assigned.

Methods in org.apache.mina.handler.multiton with parameters of type IoSession
`void` | `SingleSessionIoHandlerDelegate.exceptionCaught(IoSession session, Throwable cause)` Delegates the method call to the `SingleSessionIoHandler.exceptionCaught(Throwable)` method of the handler assigned to this session.
`SingleSessionIoHandler` | `SingleSessionIoHandlerFactory.getHandler(IoSession session)` Returns a `SingleSessionIoHandler` for the given session.
`void` | `SingleSessionIoHandlerDelegate.messageReceived(IoSession session, Object message)` Delegates the method call to the `SingleSessionIoHandler.messageReceived(Object)` method of the handler assigned to this session.
`void` | `SingleSessionIoHandlerDelegate.messageSent(IoSession session, Object message)` Delegates the method call to the `SingleSessionIoHandler.messageSent(Object)` method of the handler assigned to this session.
`void` | `SingleSessionIoHandlerDelegate.sessionClosed(IoSession session)` Delegates the method call to the `SingleSessionIoHandler.sessionClosed()` method of the handler assigned to this session.
`void` | `SingleSessionIoHandlerDelegate.sessionCreated(IoSession session)` Creates a new instance with the factory passed to the constructor of this class.
`void` | `SingleSessionIoHandlerDelegate.sessionIdle(IoSession session, IdleStatus status)` Delegates the method call to the `SingleSessionIoHandler.sessionIdle(IdleStatus)` method of the handler assigned to this session.
`void` | `SingleSessionIoHandlerDelegate.sessionOpened(IoSession session)` Delegates the method call to the `SingleSessionIoHandler.sessionOpened()` method of the handler assigned to this session.

Constructors in org.apache.mina.handler.multiton with parameters of type IoSession
`SingleSessionIoHandlerAdapter(IoSession session)` Creates a new instance that is assigned to the passed in session.

Uses of IoSession in org.apache.mina.integration.jmx

Constructors in org.apache.mina.integration.jmx with parameters of type IoSession
`IoSessionManager(IoSession session)` create the session manager

Uses of IoSession in org.apache.mina.util

Methods in org.apache.mina.util with parameters of type IoSession
`static void` | `SessionLog.debug(IoSession session, String message)`
`static void` | `SessionLog.debug(IoSession session, String message, Throwable cause)`
`static void` | `SessionLog.error(IoSession session, String message)`
`static void` | `SessionLog.error(IoSession session, String message, Throwable cause)`
`static void` | `SessionLog.info(IoSession session, String message)`
`static void` | `SessionLog.info(IoSession session, String message, Throwable cause)`
`static void` | `SessionUtil.initialize(IoSession session)`
`static boolean` | `SessionLog.isDebugEnabled(IoSession session)`
`static boolean` | `SessionLog.isErrorEnabled(IoSession session)`
`static boolean` | `SessionLog.isInfoEnabled(IoSession session)`
`static boolean` | `SessionLog.isWarnEnabled(IoSession session)`
`static void` | `SessionLog.warn(IoSession session, String message)`
`static void` | `SessionLog.warn(IoSession session, String message, Throwable cause)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

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