Package | Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpiringSessionRecycler
An
IoSessionRecycler with sessions that time out on inactivity. |
Modifier and Type | Field and Description |
---|---|
static IoSessionRecycler |
IoSessionRecycler.NOOP
A dummy recycler that doesn't recycle any sessions.
|
Modifier and Type | Method and Description |
---|---|
IoSessionRecycler |
DatagramServiceConfig.getSessionRecycler()
Returns the
IoSessionRecycler for this service. |
IoSessionRecycler |
DatagramConnectorConfig.getSessionRecycler() |
IoSessionRecycler |
DatagramAcceptorConfig.getSessionRecycler() |
Modifier and Type | Method and Description |
---|---|
void |
DatagramServiceConfig.setSessionRecycler(IoSessionRecycler sessionRecycler)
Sets the
IoSessionRecycler for this service. |
void |
DatagramConnectorConfig.setSessionRecycler(IoSessionRecycler sessionRecycler) |
void |
DatagramAcceptorConfig.setSessionRecycler(IoSessionRecycler sessionRecycler) |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.