Class Bytestream.StreamHostUsed
java.lang.Object
org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHostUsed
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.getJID()
Returns the JID of the selected stream host.final String
Returns the root element XML namespace.toXML
(XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
QNAME
-
-
Constructor Details
-
StreamHostUsed
Default constructor.- Parameters:
jid
- The JID of the selected stream host.
-
-
Method Details
-
getJID
Returns the JID of the selected stream host.- Returns:
- Returns the JID of the selected stream host.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-