|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SocketSession
Method Summary | |
---|---|
SocketSessionConfig |
getConfig()
Returns the configuration of this session. |
InetSocketAddress |
getLocalAddress()
Returns the socket address of local machine which is associated with this session. |
InetSocketAddress |
getRemoteAddress()
Returns the socket address of remote peer. |
InetSocketAddress |
getServiceAddress()
Returns the socket address of the IoService listens to to manage
this session. |
Method Detail |
---|
SocketSessionConfig getConfig()
IoSession
getConfig
in interface IoSession
InetSocketAddress getRemoteAddress()
IoSession
getRemoteAddress
in interface IoSession
InetSocketAddress getLocalAddress()
IoSession
getLocalAddress
in interface IoSession
InetSocketAddress getServiceAddress()
IoSession
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 IoSession
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |