Interface JingleSessionListener

All Superinterfaces:
JingleListener
All Known Implementing Classes:
BridgedTransportManager, FixedTransportManager, ICETransportManager, JingleManager

public interface JingleSessionListener extends JingleListener
Interface for listening for session events.
  • Method Details

    • sessionEstablished

      void sessionEstablished(PayloadType pt, TransportCandidate remoteCandidate, TransportCandidate localCandidate, JingleSession jingleSession) throws org.jivesoftware.smack.SmackException.NotConnectedException, InterruptedException, org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException
      Notification that the session has been established. Arguments specify the payload type and transport to use.
      Parameters:
      pt - the Payload type to use
      remoteCandidate - the remote candidate to use for connecting to the remote service.
      localCandidate - the local candidate where we must listen for connections
      jingleSession - Session that called the method
      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.
    • sessionDeclined

      void sessionDeclined(String reason, JingleSession jingleSession)
      Notification that the session was declined.
      Parameters:
      reason - the reason (if any).
      jingleSession - Session that called the method
    • sessionRedirected

      void sessionRedirected(String redirection, JingleSession jingleSession)
      Notification that the session was redirected.
      Parameters:
      redirection - TODO javadoc me please
      jingleSession - session that called the method
    • sessionClosed

      void sessionClosed(String reason, JingleSession jingleSession)
      Notification that the session was closed normally.
      Parameters:
      reason - the reason (if any).
      jingleSession - Session that called the method
    • sessionClosedOnError

      void sessionClosedOnError(org.jivesoftware.smack.XMPPException e, JingleSession jingleSession)
      Notification that the session was closed due to an exception.
      Parameters:
      e - the exception.
      jingleSession - session that called the method
    • sessionMediaReceived

      void sessionMediaReceived(JingleSession jingleSession, String participant)
      Notification that the Media has arrived for this session.
      Parameters:
      jingleSession - session that called the method
      participant - description of the participant