程序包 | 说明 |
---|---|
org.apache.mina.common |
Common types required for users to use MINA.
|
org.apache.mina.transport.socket.nio |
Socket (TCP/IP) and Datagram (UDP/IP) support based on Java
NIO (New I/O) API.
|
限定符和类型 | 类和说明 |
---|---|
class |
ExpiringSessionRecycler
An
IoSessionRecycler with sessions that time out on inactivity. |
限定符和类型 | 字段和说明 |
---|---|
static IoSessionRecycler |
IoSessionRecycler.NOOP
A dummy recycler that doesn't recycle any sessions.
|
限定符和类型 | 方法和说明 |
---|---|
IoSessionRecycler |
DatagramServiceConfig.getSessionRecycler()
Returns the
IoSessionRecycler for this service. |
IoSessionRecycler |
DatagramConnectorConfig.getSessionRecycler() |
IoSessionRecycler |
DatagramAcceptorConfig.getSessionRecycler() |
限定符和类型 | 方法和说明 |
---|---|
void |
DatagramServiceConfig.setSessionRecycler(IoSessionRecycler sessionRecycler)
Sets the
IoSessionRecycler for this service. |
void |
DatagramConnectorConfig.setSessionRecycler(IoSessionRecycler sessionRecycler) |
void |
DatagramAcceptorConfig.setSessionRecycler(IoSessionRecycler sessionRecycler) |