|
||||||||||
| 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.
| Field Summary |
|---|
| Fields inherited from class org.apache.mina.core.session.AbstractIoSession |
|---|
config |
| Method Summary | |
|---|---|
IoFilterChain |
getFilterChain()
|
java.net.InetSocketAddress |
getLocalAddress()
Returns the socket address of local machine which is associated with this session. |
IoProcessor<AprSession> |
getProcessor()
|
java.net.InetSocketAddress |
getRemoteAddress()
Returns the socket address of remote peer. |
java.net.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 |
|---|
getTransportMetadata |
| Method Detail |
|---|
public IoProcessor<AprSession> getProcessor()
getProcessor in class AbstractIoSessionpublic java.net.InetSocketAddress getLocalAddress()
public java.net.InetSocketAddress getRemoteAddress()
public IoFilterChain getFilterChain()
public java.net.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 | |||||||||