public final class StreamHost extends Object implements Socks5StreamHost
<streamhost/> element.| Constructor and Description |
|---|
StreamHost(rocks.xmpp.addr.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.
|
rocks.xmpp.addr.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 StreamHost(rocks.xmpp.addr.Jid jid,
String host,
int port)
<streamhost/> element.jid - The JID.host - The host address.port - The port.public final String getHostname()
getHostname in interface Socks5StreamHostpublic final rocks.xmpp.addr.Jid getJid()
getJid in interface Socks5StreamHostpublic final int getPort()
getPort in interface Socks5StreamHostCopyright © 2014–2017 XMPP.rocks. All rights reserved.