Interface JingleTransportListener

  • All Superinterfaces:
    JingleListener

    public interface JingleTransportListener
    extends JingleListener
    Interface for listening to transport events.
    • Method Detail

      • transportEstablished

        void transportEstablished​(TransportCandidate local,
                                  TransportCandidate remote)
                           throws org.jivesoftware.smack.SmackException.NotConnectedException,
                                  java.lang.InterruptedException
        Notification that the transport has been established.
        Parameters:
        local - The transport candidate that has been used for listening in the local machine
        remote - The transport candidate that has been used for transmitting to the remote machine
        Throws:
        org.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connected.
        java.lang.InterruptedException - if the calling thread was interrupted.
      • transportClosed

        void transportClosed​(TransportCandidate cand)
        Notification that a transport must be cancelled.
        Parameters:
        cand - The transport candidate that must be cancelled. A value of "null" means all the transports for this session.
      • transportClosedOnError

        void transportClosedOnError​(org.jivesoftware.smack.XMPPException e)
        Notification that the transport was closed due to an exception.
        Parameters:
        e - the exception.