Package org.apache.sshd.common.util.net
Interface ConnectionEndpointsIndicator
-
- All Known Subinterfaces:
ClientSession,IoSession,ServerSession,Session,SessionContext
- All Known Implementing Classes:
AbstractClientSession,AbstractServerSession,AbstractSession,ClientSessionImpl,ExplicitPortForwardingTracker,Nio2Session,ServerSessionImpl,SessionHelper
public interface ConnectionEndpointsIndicator- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SocketAddressgetLocalAddress()SocketAddressgetRemoteAddress()
-
-
-
Method Detail
-
getRemoteAddress
SocketAddress getRemoteAddress()
- Returns:
- the socket address of remote peer.
-
getLocalAddress
SocketAddress getLocalAddress()
- Returns:
- the socket address of local machine which is associated with this session.
-
-