Class 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 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 ELEMENT  
      static javax.xml.namespace.QName QNAME  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getElementName()  
      org.jxmpp.jid.Jid getJID()
      Returns the JID of the selected stream host.
      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 Detail

      • QNAME

        public static final javax.xml.namespace.QName QNAME
    • Constructor Detail

      • StreamHostUsed

        public StreamHostUsed​(org.jxmpp.jid.Jid jid)
        Default constructor.
        Parameters:
        jid - The JID of the selected stream host.
    • Method Detail

      • 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 java.lang.String getElementName()
      • toXML

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