Java Doc for IoSessionRecycler.java in » Net » mina-2.0.0-M1 » org » apache » mina » common » Java Source Code / Java DocumentationJava Source Code and Java Documentation
A connectionless transport can recycle existing sessions by assigning an
IoSessionRecycler to an
IoService .
author: The Apache MINA Project (dev@mina.apache.org) author: TODO More documentation
recycle(SocketAddress localAddress, SocketAddress remoteAddress) Attempts to retrieve a recycled
IoSession .
Parameters: localAddress - the local socket address of the IoSession thetransport wants to recycle. Parameters: remoteAddress - the remote socket address of the IoSession thetransport wants to recycle.
A dummy recycler that doesn't recycle any sessions. Using this recycler will
make all session lifecycle events to be fired for every I/O for all connectionless
sessions.
Attempts to retrieve a recycled
IoSession .
Parameters: localAddress - the local socket address of the IoSession thetransport wants to recycle. Parameters: remoteAddress - the remote socket address of the IoSession thetransport wants to recycle. a recycled IoSession, or null if one cannot be found.