Package org.apache.mina.common
-
Interface Summary Interface Description BroadcastIoSession AnIoSession
for broadcast transports.ByteBufferAllocator AllocatesByteBuffer
s and manages them.CloseFuture AnIoFuture
for asynchronous close requests.ConnectFuture AnIoFuture
for asynchronous connect requests.IoAcceptor Accepts incoming connection, communicates with clients, and fires events toIoHandler
s.IoAcceptorConfig A configuration which is used to configureIoAcceptor
.IoConnector Connects to endpoint, communicates with the server, and fires events toIoHandler
s.IoConnectorConfig A configuration which is used to configureIoConnector
.IoFilter A filter which interceptsIoHandler
events like Servlet filters.IoFilter.NextFilter Represents the nextIoFilter
inIoFilterChain
.IoFilterChain IoFilterChain.Entry Represents a name-filter pair that anIoFilterChain
contains.IoFilterChainBuilder An interface that buildsIoFilterChain
in predefined way whenIoSession
is created.IoFuture Represents the result of an ashynchronous I/O operation.IoFutureListener Something interested in being notified when the result of anIoFuture
becomes available.IoHandler Handles all I/O events fired by MINA.IoService IoServiceConfig A configuration which is used to configureIoService
.IoServiceListener Something interested in being notified when the result of anIoFuture
becomes available.IoSession A handle which represents connection between two endpoints regardless of transport types.IoSessionConfig The configuration ofIoSession
.IoSessionRecycler A connectionless transport can recycle existing sessions by assigning an IoSessionRecyler to itsIoServiceConfig
.ThreadModel Represents a thread model of anIoService
.WriteFuture AnIoFuture
for asynchronous write requests. -
Class Summary Class Description ByteBuffer A byte buffer used by MINA applications.ByteBufferProxy AByteBuffer
that wraps a buffer and proxies any operations to it.DefaultIoFilterChainBuilder The default implementation ofIoFilterChainBuilder
which is useful in most cases.ExceptionMonitor Monitors uncaught exceptions.ExecutorThreadModel AThreadModel
which represents a thread model with anExecutor
per service.ExpiringSessionRecycler AnIoSessionRecycler
with sessions that time out on inactivity.IdleStatus IoFilter.WriteRequest Represents write request fired byIoSession.write(Object)
.IoFilterAdapter An abstract adapter class forIoFilter
.IoHandlerAdapter An abstract adapter class forIoHandler
.PooledByteBufferAllocator AByteBufferAllocator
which pools allocated buffers.SimpleByteBufferAllocator A simplisticByteBufferAllocator
which simply allocates a new buffer every time.TrafficMask A type-safe mask that is used to control the traffic ofIoSession
withIoSession.setTrafficMask(TrafficMask)
.TransportType Represents network transport types. -
Exception Summary Exception Description BufferDataException ARuntimeException
which is thrown when the data theByteBuffer
contains is corrupt.IoFilterLifeCycleException ARuntimeException
which is thrown whenIoFilter.init()
orIoFilter.onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)
failed.RuntimeIOException A unchecked version ofIOException
.WriteTimeoutException AnIOException
which is thrown when write buffer is not flushed forIoSession.getWriteTimeout()
seconds.