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

public static class Bytestream.StreamHostUsed extends 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 final String
     
    static final QName
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StreamHostUsed(org.jxmpp.jid.Jid jid)
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.jxmpp.jid.Jid
    Returns the JID of the selected stream host.
    final String
     
    org.jivesoftware.smack.util.XmlStringBuilder
    toXML(org.jivesoftware.smack.packet.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.Element

    toXML, toXML

    Methods inherited from interface org.jivesoftware.smack.packet.XmlElement

    getLanguage, getQName
  • Field Details

  • 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

      public String getElementName()
    • toXML

      public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace)
    • getNamespace

      public final String getNamespace()
      Specified by:
      getNamespace in interface org.jivesoftware.smack.packet.XmlElement