Interface JingleTransportListener

All Superinterfaces:
JingleListener

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

    • transportEstablished

      void transportEstablished(TransportCandidate local, TransportCandidate remote) throws org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException
      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.
      InterruptedException - if the calling thread was interrupted.
      org.jivesoftware.smack.XMPPException.XMPPErrorException - if there was an XMPP error returned.
      org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entity.
    • 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.