Interface JingleSessionListener

    • Method Detail

      • sessionEstablished

        void sessionEstablished​(PayloadType pt,
                                TransportCandidate remoteCandidate,
                                TransportCandidate localCandidate,
                                JingleSession jingleSession)
                         throws SmackException.NotConnectedException,
                                java.lang.InterruptedException
        Notification that the session has been established. Arguments specify the payload type and transport to use.
        Parameters:
        pt - the Payload tyep 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:
        SmackException.NotConnectedException - if the XMPP connection is not connected.
        java.lang.InterruptedException - if the calling thread was interrupted.
      • sessionDeclined

        void sessionDeclined​(java.lang.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​(java.lang.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​(java.lang.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​(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,
                                  java.lang.String participant)
        Notification that the Media has arrived for this session.
        Parameters:
        jingleSession - session that called the method
        participant - description of the participant