接口 | 说明 |
---|---|
BroadcastIoSession |
An
IoSession for broadcast transports. |
ByteBufferAllocator |
Allocates
ByteBuffer s 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
IoHandler s. |
IoAcceptorConfig |
A configuration which is used to configure
IoAcceptor . |
IoConnector |
Connects to endpoint, communicates with the server, and fires events to
IoHandler s. |
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 | |
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 | |
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. |
类 | 说明 |
---|---|
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 | |
IoFilter.WriteRequest |
Represents write request fired by
IoSession.write(Object) . |
IoFilterAdapter |
An abstract adapter class for
IoFilter . |
IoHandlerAdapter |
An abstract adapter class for
IoHandler . |
PooledByteBufferAllocator |
A
ByteBufferAllocator which pools allocated buffers. |
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.
|
异常错误 | 说明 |
---|---|
BufferDataException |
A
RuntimeException which is thrown when the data the ByteBuffer
contains is corrupt. |
IoFilterLifeCycleException |
A
RuntimeException which is thrown when IoFilter.init()
or IoFilter.onPostAdd(IoFilterChain, String, org.apache.mina.common.IoFilter.NextFilter)
failed. |
RuntimeIOException |
A unchecked version of
IOException . |
WriteTimeoutException |
An
IOException which is thrown when write buffer is not flushed for
IoSession.getWriteTimeout() seconds. |