Class Bytestream.StreamHostUsed
java.lang.Object
org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHostUsed
- All Implemented Interfaces:
org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.ExtensionElement,org.jivesoftware.smack.packet.NamedElement,org.jivesoftware.smack.packet.XmlElement,org.jivesoftware.smack.packet.XmlLangElement
- Enclosing class:
- Bytestream
After selected a SOCKS5 stream host and successfully connecting, the target of the file
transfer returns a byte stream stanza with the stream host used extension.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXMLMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
StreamHostUsed
public StreamHostUsed(org.jxmpp.jid.Jid jid) Default constructor.- Parameters:
jid- The JID of the selected stream host.
-
-
Method Details
-
getJID
public org.jxmpp.jid.Jid getJID()Returns the JID of the selected stream host.- Returns:
- Returns the JID of the selected stream host.
-
getElementName
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) -
getNamespace
- Specified by:
getNamespacein interfaceorg.jivesoftware.smack.packet.XmlElement
-