Class Bytestream.StreamHostUsed
- java.lang.Object
-
- org.jivesoftware.smackx.bytestreams.socks5.packet.Bytestream.StreamHostUsed
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
- Enclosing class:
- Bytestream
public static class Bytestream.StreamHostUsed extends java.lang.Object
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 Modifier and Type Field Description static java.lang.String
ELEMENTNAME
-
Constructor Summary
Constructors Constructor Description StreamHostUsed(Jid jid)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.Jid
getJID()
Returns the JID of the selected stream host.XmlStringBuilder
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.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENTNAME
public static java.lang.String ELEMENTNAME
-
-
Constructor Detail
-
StreamHostUsed
public StreamHostUsed(Jid jid)
Default constructor.- Parameters:
jid
- The JID of the selected stream host.
-
-
Method Detail
-
getJID
public Jid getJID()
Returns the JID of the selected stream host.- Returns:
- Returns the JID of the selected stream host.
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
-