public class ICETransportManager extends JingleTransportManager implements JingleSessionListener, CreatedJingleSessionListener
| Constructor and Description |
|---|
ICETransportManager(org.jivesoftware.smack.XMPPConnection xmppConnection,
java.lang.String server,
int port) |
| Modifier and Type | Method and Description |
|---|---|
protected TransportResolver |
createResolver(JingleSession session)
Create a Transport Resolver instance according to the implementation.
|
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 |
sessionCreated(JingleSession jingleSession) |
void |
sessionDeclined(java.lang.String reason,
JingleSession jingleSession)
Notification that the session was declined.
|
void |
sessionEstablished(PayloadType pt,
TransportCandidate rc,
TransportCandidate lc,
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.
|
getResolverpublic ICETransportManager(org.jivesoftware.smack.XMPPConnection xmppConnection,
java.lang.String server,
int port)
protected TransportResolver createResolver(JingleSession session) throws org.jivesoftware.smack.SmackException
JingleTransportManagercreateResolver in class JingleTransportManagerorg.jivesoftware.smack.SmackExceptionpublic void sessionEstablished(PayloadType pt, TransportCandidate rc, TransportCandidate lc, JingleSession jingleSession) throws org.jivesoftware.smack.SmackException.NotConnectedException
JingleSessionListenersessionEstablished in interface JingleSessionListenerpt - the Payload tyep to userc - the remote candidate to use for connecting to the remote
service.lc - the local candidate where we must listen for connectionsjingleSession - Session that called the methodorg.jivesoftware.smack.SmackException.NotConnectedExceptionpublic void sessionDeclined(java.lang.String reason,
JingleSession jingleSession)
JingleSessionListenersessionDeclined in interface JingleSessionListenerreason - the reason (if any).jingleSession - Session that called the methodpublic void sessionRedirected(java.lang.String redirection,
JingleSession jingleSession)
JingleSessionListenersessionRedirected in interface JingleSessionListenerjingleSession - session that called the methodpublic void sessionClosed(java.lang.String reason,
JingleSession jingleSession)
JingleSessionListenersessionClosed in interface JingleSessionListenerreason - the reason (if any).jingleSession - Session that called the methodpublic void sessionClosedOnError(org.jivesoftware.smack.XMPPException e,
JingleSession jingleSession)
JingleSessionListenersessionClosedOnError in interface JingleSessionListenere - the exception.jingleSession - session that called the methodpublic void sessionMediaReceived(JingleSession jingleSession, java.lang.String participant)
JingleSessionListenersessionMediaReceived in interface JingleSessionListenerjingleSession - session that called the methodparticipant - description of the participantpublic void sessionCreated(JingleSession jingleSession)
sessionCreated in interface CreatedJingleSessionListener