Package org.apache.mina.common
-
Interface Summary Interface Description BroadcastIoSession AnIoSessionfor broadcast transports.ByteBufferAllocator AllocatesByteBuffers and manages them.CloseFuture AnIoFuturefor asynchronous close requests.ConnectFuture AnIoFuturefor asynchronous connect requests.IoAcceptor Accepts incoming connection, communicates with clients, and fires events toIoHandlers.IoAcceptorConfig A configuration which is used to configureIoAcceptor.IoConnector Connects to endpoint, communicates with the server, and fires events toIoHandlers.IoConnectorConfig A configuration which is used to configureIoConnector.IoFilter A filter which interceptsIoHandlerevents like Servlet filters.IoFilter.NextFilter Represents the nextIoFilterinIoFilterChain.IoFilterChain IoFilterChain.Entry Represents a name-filter pair that anIoFilterChaincontains.IoFilterChainBuilder An interface that buildsIoFilterChainin predefined way whenIoSessionis created.IoFuture Represents the result of an ashynchronous I/O operation.IoFutureListener Something interested in being notified when the result of anIoFuturebecomes 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 anIoFuturebecomes 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 AnIoFuturefor asynchronous write requests. -
Class Summary Class Description ByteBuffer A byte buffer used by MINA applications.ByteBufferProxy AByteBufferthat wraps a buffer and proxies any operations to it.DefaultIoFilterChainBuilder The default implementation ofIoFilterChainBuilderwhich is useful in most cases.ExceptionMonitor Monitors uncaught exceptions.ExecutorThreadModel AThreadModelwhich represents a thread model with anExecutorper service.ExpiringSessionRecycler AnIoSessionRecyclerwith 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 AByteBufferAllocatorwhich pools allocated buffers.SimpleByteBufferAllocator A simplisticByteBufferAllocatorwhich simply allocates a new buffer every time.TrafficMask A type-safe mask that is used to control the traffic ofIoSessionwithIoSession.setTrafficMask(TrafficMask).TransportType Represents network transport types. -
Exception Summary Exception Description BufferDataException ARuntimeExceptionwhich is thrown when the data theByteBuffercontains is corrupt.IoFilterLifeCycleException ARuntimeExceptionwhich is thrown whenIoFilter.init()orIoFilter.onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)failed.RuntimeIOException A unchecked version ofIOException.WriteTimeoutException AnIOExceptionwhich is thrown when write buffer is not flushed forIoSession.getWriteTimeout()seconds.