Package org.apache.mina.common

Common types required for users to use MINA.

Interface Summary

BroadcastIoSession An IoSession for broadcast transports.
ByteBufferAllocator Allocates ByteBuffers and manages them.
CloseFuture An IoFuture for asynchronous close requests.
ConnectFuture An IoFuture for asynchronous connect requests.
IoAcceptor Accepts incoming connection, communicates with clients, and fires events to IoHandlers.
IoAcceptorConfig A configuration which is used to configure IoAcceptor.
IoConnector Connects to endpoint, communicates with the server, and fires events to IoHandlers.
IoConnectorConfig A configuration which is used to configure IoConnector.
IoFilter A filter which intercepts IoHandler events like Servlet filters.
IoFilter.NextFilter Represents the next IoFilter in IoFilterChain.
IoFilterChain A container of IoFilters that forwards IoHandler events to the consisting filters and terminal IoHandler sequentially.
IoFilterChain.Entry Represents a name-filter pair that an IoFilterChain contains.
IoFilterChainBuilder An interface that builds IoFilterChain in predefined way when IoSession is created.
IoFuture Represents the result of an ashynchronous I/O operation.
IoFutureListener Something interested in being notified when the result of an IoFuture becomes available.
IoHandler Handles all I/O events fired by MINA.
IoService Base interface for all IoAcceptors and IoConnectors that provide I/O service and manage IoSessions.
IoServiceConfig A configuration which is used to configure IoService.
IoServiceListener Something interested in being notified when the result of an IoFuture becomes available.
IoSession A handle which represents connection between two endpoints regardless of transport types.
IoSessionConfig The configuration of IoSession.
IoSessionRecycler A connectionless transport can recycle existing sessions by assigning an IoSessionRecyler to its IoServiceConfig.
ThreadModel Represents a thread model of an IoService.
WriteFuture An IoFuture for asynchronous write requests.

Class Summary

BufferDataException A RuntimeException which is thrown when the data the ByteBuffer contains is corrupt.
ByteBuffer A byte buffer used by MINA applications.
ByteBufferProxy A ByteBuffer that wraps a buffer and proxies any operations to it.
DefaultIoFilterChainBuilder The default implementation of IoFilterChainBuilder which is useful in most cases.
ExceptionMonitor Monitors uncaught exceptions.
ExecutorThreadModel A ThreadModel which represents a thread model with an Executor per service.
ExpiringSessionRecycler An IoSessionRecycler with sessions that time out on inactivity.
IdleStatus Represents the type of idleness of IoSession or IoSession.
IoFilter.WriteRequest Represents write request fired by IoSession.write(Object).
IoFilterAdapter An abstract adapter class for IoFilter.
IoFilterLifeCycleException A RuntimeException which is thrown when IoFilter.init() or IoFilter.onPostAdd(IoFilterChain,String,IoFilter.NextFilter) failed.
IoHandlerAdapter An abstract adapter class for IoHandler.
PooledByteBufferAllocator A ByteBufferAllocator which pools allocated buffers.
RuntimeIOException A unchecked version of java.io.IOException.
SimpleByteBufferAllocator A simplistic ByteBufferAllocator which simply allocates a new buffer every time.
TrafficMask A type-safe mask that is used to control the traffic of IoSession with IoSession.setTrafficMask(TrafficMask).
TransportType Represents network transport types.
WriteTimeoutException An IOException which is thrown when write buffer is not flushed for IoSession.getWriteTimeout() seconds.
Common types required for users to use MINA.