Interface Socks5StreamHost
-
- All Superinterfaces:
Addressable
- All Known Implementing Classes:
S5bTransportMethod.Candidate
,StreamHost
public interface Socks5StreamHost extends Addressable
A SOCKS5 stream host interface which is shared by the XEP-0065 implementation and the XEP-0260 implementation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getHostname()
Gets the IP address or DNS domain name of the StreamHost for SOCKS5 communication over TCP.int
getPort()
Get the port on which to connect for SOCKS5 communication over TCP.-
Methods inherited from interface rocks.xmpp.core.Addressable
getJid
-
-
-
-
Method Detail
-
getHostname
String getHostname()
Gets the IP address or DNS domain name of the StreamHost for SOCKS5 communication over TCP.- Returns:
- The hostname.
-
getPort
int getPort()
Get the port on which to connect for SOCKS5 communication over TCP.- Returns:
- The port.
-
-