public interface JingleSessionListener extends JingleListener
| Modifier and Type | Method and Description |
|---|---|
void |
sessionClosed(java.lang.String reason,
JingleSession jingleSession)
Notification that the session was closed normally.
|
void |
sessionClosedOnError(org.jivesoftware.smack.XMPPException e,
JingleSession jingleSession)
Notification that the session was closed due to an exception.
|
void |
sessionDeclined(java.lang.String reason,
JingleSession jingleSession)
Notification that the session was declined.
|
void |
sessionEstablished(PayloadType pt,
TransportCandidate remoteCandidate,
TransportCandidate localCandidate,
JingleSession jingleSession)
Notification that the session has been established.
|
void |
sessionMediaReceived(JingleSession jingleSession,
java.lang.String participant)
Notification that the Media has arrived for this session.
|
void |
sessionRedirected(java.lang.String redirection,
JingleSession jingleSession)
Notification that the session was redirected.
|
void sessionEstablished(PayloadType pt, TransportCandidate remoteCandidate, TransportCandidate localCandidate, JingleSession jingleSession) throws org.jivesoftware.smack.SmackException.NotConnectedException
pt - the Payload tyep to useremoteCandidate - the remote candidate to use for connecting to the remote
service.localCandidate - the local candidate where we must listen for connectionsjingleSession - Session that called the methodorg.jivesoftware.smack.SmackException.NotConnectedExceptionvoid sessionDeclined(java.lang.String reason,
JingleSession jingleSession)
reason - the reason (if any).jingleSession - Session that called the methodvoid sessionRedirected(java.lang.String redirection,
JingleSession jingleSession)
redirection - jingleSession - session that called the methodvoid sessionClosed(java.lang.String reason,
JingleSession jingleSession)
reason - the reason (if any).jingleSession - Session that called the methodvoid sessionClosedOnError(org.jivesoftware.smack.XMPPException e,
JingleSession jingleSession)
e - the exception.jingleSession - session that called the methodvoid sessionMediaReceived(JingleSession jingleSession, java.lang.String participant)
jingleSession - session that called the methodparticipant - description of the participant