public class BridgedTransportManager extends JingleTransportManager implements JingleSessionListener, CreatedJingleSessionListener
| Constructor and Description |
|---|
BridgedTransportManager(XMPPConnection xmppConnection) |
| Modifier and Type | Method and Description |
|---|---|
protected TransportResolver |
createResolver(JingleSession session)
Return the correspondent resolver
|
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 |
sessionCreated(JingleSession jingleSession) |
void |
sessionDeclined(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,
String participant)
Notification that the Media has arrived for this session.
|
void |
sessionRedirected(String redirection,
JingleSession jingleSession)
Notification that the session was redirected.
|
getResolverpublic BridgedTransportManager(XMPPConnection xmppConnection)
protected TransportResolver createResolver(JingleSession session)
createResolver in class JingleTransportManagersession - correspondent Jingle Sessionpublic void sessionEstablished(PayloadType pt, TransportCandidate rc, TransportCandidate lc, JingleSession jingleSession) throws 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 methodSmackException.NotConnectedExceptionpublic void sessionDeclined(String reason, JingleSession jingleSession)
JingleSessionListenersessionDeclined in interface JingleSessionListenerreason - the reason (if any).jingleSession - Session that called the methodpublic void sessionRedirected(String redirection, JingleSession jingleSession)
JingleSessionListenersessionRedirected in interface JingleSessionListenerjingleSession - session that called the methodpublic void sessionClosed(String reason, JingleSession jingleSession)
JingleSessionListenersessionClosed in interface JingleSessionListenerreason - the reason (if any).jingleSession - Session that called the methodpublic void sessionClosedOnError(XMPPException e, JingleSession jingleSession)
JingleSessionListenersessionClosedOnError in interface JingleSessionListenere - the exception.jingleSession - session that called the methodpublic void sessionMediaReceived(JingleSession jingleSession, String participant)
JingleSessionListenersessionMediaReceived in interface JingleSessionListenerjingleSession - session that called the methodparticipant - description of the participantpublic void sessionCreated(JingleSession jingleSession)
sessionCreated in interface CreatedJingleSessionListener