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
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
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.
-