|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.mina.core.session.AbstractIoSession
org.apache.mina.transport.socket.apr.AprSession
public abstract class AprSession
An abstract IoSession serving of base for APR based sessions.
| Method Summary | |
|---|---|
IoFilterChain |
getFilterChain()
|
IoHandler |
getHandler()
|
InetSocketAddress |
getLocalAddress()
Returns the socket address of local machine which is associated with this session. |
IoProcessor<AprSession> |
getProcessor()
TODO Add method documentation |
InetSocketAddress |
getRemoteAddress()
Returns the socket address of remote peer. |
IoService |
getService()
|
InetSocketAddress |
getServiceAddress()
Returns the socket address of the IoService listens to to manage
this session. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.mina.core.session.IoSession |
|---|
getConfig, getTransportMetadata |
| Method Detail |
|---|
public IoProcessor<AprSession> getProcessor()
getProcessor in class AbstractIoSessionpublic InetSocketAddress getLocalAddress()
public InetSocketAddress getRemoteAddress()
public IoFilterChain getFilterChain()
public IoHandler getHandler()
IoHandler which handles this session.public IoService getService()
IoService which provides I/O service to this session.public InetSocketAddress getServiceAddress()
IoService listens to to manage
this session. If this session is managed by IoAcceptor, it
returns the SocketAddress which is specified as a parameter of
IoAcceptor.bind(). If this session is managed by
IoConnector, this method returns the same address with
that of IoSession.getRemoteAddress().
getServiceAddress in interface IoSessiongetServiceAddress in class AbstractIoSession
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||