Interface BytestreamRequest

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BytestreamSession accept()
      Accepts the bytestream open request and returns the session to send/receive data.
      org.jxmpp.jid.Jid getFrom()
      Returns the sender of the bytestream open request.
      java.lang.String getSessionID()
      Returns the session ID of the bytestream open request.
      void reject()
      Rejects the bytestream request by sending a reject error to the initiator.
    • Method Detail

      • getFrom

        org.jxmpp.jid.Jid getFrom()
        Returns the sender of the bytestream open request.
        Returns:
        the sender of the bytestream open request
      • getSessionID

        java.lang.String getSessionID()
        Returns the session ID of the bytestream open request.
        Returns:
        the session ID of the bytestream open request
      • reject

        void reject()
             throws org.jivesoftware.smack.SmackException.NotConnectedException,
                    java.lang.InterruptedException
        Rejects the bytestream request by sending a reject error to the initiator.
        Throws:
        org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.
        java.lang.InterruptedException - if the calling thread was interrupted.