Interface RemoteAddressProvider
- All Known Subinterfaces:
SessionFactory, Transport
- All Known Implementing Classes:
SSHClient, TransportImpl
public interface RemoteAddressProvider
-
Method Summary
Modifier and TypeMethodDescriptionGet Remote Socket Address associated with transport connection
-
Method Details
-
getRemoteSocketAddress
InetSocketAddress getRemoteSocketAddress()Get Remote Socket Address associated with transport connection- Returns:
- Remote Socket Address or null when not connected
-