public final class StreamHost extends Object implements Socks5StreamHost
<streamhost/> element.| Constructor and Description |
|---|
StreamHost(Jid jid,
String host,
int port)
Creates a
<streamhost/> element. |
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
Gets the IP address or DNS domain name of the StreamHost for SOCKS5 communication over TCP.
|
Jid |
getJid()
Gets the JabberID of the StreamHost for communication over XMPP.
|
int |
getPort()
Get the port on which to connect for SOCKS5 communication over TCP.
|
String |
toString() |
public final String getHostname()
getHostname in interface Socks5StreamHostpublic final Jid getJid()
getJid in interface Socks5StreamHostpublic final int getPort()
getPort in interface Socks5StreamHostCopyright © 2014–2016 XMPP.rocks. All rights reserved.