public interface JingleSessionListener extends JingleListener
Modifier and Type | Method and Description |
---|---|
void |
sessionClosed(String reason,
JingleSession jingleSession)
Notification that the session was closed normally.
|
void |
sessionClosedOnError(XMPPException e,
JingleSession jingleSession)
Notification that the session was closed due to an exception.
|
void |
sessionDeclined(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,
String participant)
Notification that the Media has arrived for this session.
|
void |
sessionRedirected(String redirection,
JingleSession jingleSession)
Notification that the session was redirected.
|
void sessionEstablished(PayloadType pt, TransportCandidate remoteCandidate, TransportCandidate localCandidate, JingleSession jingleSession) throws SmackException.NotConnectedException, InterruptedException
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 methodSmackException.NotConnectedException
InterruptedException
void sessionDeclined(String reason, JingleSession jingleSession)
reason
- the reason (if any).jingleSession
- Session that called the methodvoid sessionRedirected(String redirection, JingleSession jingleSession)
redirection
- jingleSession
- session that called the methodvoid sessionClosed(String reason, JingleSession jingleSession)
reason
- the reason (if any).jingleSession
- Session that called the methodvoid sessionClosedOnError(XMPPException e, JingleSession jingleSession)
e
- the exception.jingleSession
- session that called the methodvoid sessionMediaReceived(JingleSession jingleSession, String participant)
jingleSession
- session that called the methodparticipant
- description of the participant