Class BridgedTransportManager
java.lang.Object
org.jivesoftware.smackx.jingleold.nat.JingleTransportManager
org.jivesoftware.smackx.jingleold.nat.BridgedTransportManager
- All Implemented Interfaces:
 CreatedJingleSessionListener,JingleListener,JingleSessionListener
public class BridgedTransportManager
extends JingleTransportManager
implements JingleSessionListener, CreatedJingleSessionListener
A Jingle Transport Manager implementation to be used for NAT Networks.
 This kind of transport needs that the connected XMPP Server provide a Bridge Service. (http://www.jivesoftware.com/protocol/rtpbridge)
 To relay the jmf outside the NAT.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected TransportResolvercreateResolver(JingleSession session) Return the correspondent resolvervoidsessionClosed(String reason, JingleSession jingleSession) Notification that the session was closed normally.voidsessionClosedOnError(XMPPException e, JingleSession jingleSession) Notification that the session was closed due to an exception.voidsessionCreated(JingleSession jingleSession) voidsessionDeclined(String reason, JingleSession jingleSession) Notification that the session was declined.voidsessionEstablished(PayloadType pt, TransportCandidate rc, TransportCandidate lc, JingleSession jingleSession) Notification that the session has been established.voidsessionMediaReceived(JingleSession jingleSession, String participant) Notification that the Media has arrived for this session.voidsessionRedirected(String redirection, JingleSession jingleSession) Notification that the session was redirected.Methods inherited from class org.jivesoftware.smackx.jingleold.nat.JingleTransportManager
getResolver 
- 
Constructor Details
- 
BridgedTransportManager
 
 - 
 - 
Method Details
- 
createResolver
Return the correspondent resolver- Specified by:
 createResolverin classJingleTransportManager- Parameters:
 session- correspondent Jingle Session- Returns:
 - resolver TODO javadoc me please
 
 - 
sessionEstablished
public void sessionEstablished(PayloadType pt, TransportCandidate rc, TransportCandidate lc, JingleSession jingleSession) throws SmackException.NotConnectedException, InterruptedException, SmackException.NoResponseException, XMPPException.XMPPErrorException Description copied from interface:JingleSessionListenerNotification that the session has been established. Arguments specify the payload type and transport to use.- Specified by:
 sessionEstablishedin interfaceJingleSessionListener- Parameters:
 pt- the Payload type 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 method- Throws:
 SmackException.NotConnectedException- if the XMPP connection is not connected.InterruptedException- if the calling thread was interrupted.SmackException.NoResponseException- if there was no response from the remote entity.XMPPException.XMPPErrorException- if there was an XMPP error returned.
 - 
sessionDeclined
Description copied from interface:JingleSessionListenerNotification that the session was declined.- Specified by:
 sessionDeclinedin interfaceJingleSessionListener- Parameters:
 reason- the reason (if any).jingleSession- Session that called the method
 - 
sessionRedirected
Description copied from interface:JingleSessionListenerNotification that the session was redirected.- Specified by:
 sessionRedirectedin interfaceJingleSessionListener- Parameters:
 redirection- TODO javadoc me pleasejingleSession- session that called the method
 - 
sessionClosed
Description copied from interface:JingleSessionListenerNotification that the session was closed normally.- Specified by:
 sessionClosedin interfaceJingleSessionListener- Parameters:
 reason- the reason (if any).jingleSession- Session that called the method
 - 
sessionClosedOnError
Description copied from interface:JingleSessionListenerNotification that the session was closed due to an exception.- Specified by:
 sessionClosedOnErrorin interfaceJingleSessionListener- Parameters:
 e- the exception.jingleSession- session that called the method
 - 
sessionMediaReceived
Description copied from interface:JingleSessionListenerNotification that the Media has arrived for this session.- Specified by:
 sessionMediaReceivedin interfaceJingleSessionListener- Parameters:
 jingleSession- session that called the methodparticipant- description of the participant
 - 
sessionCreated
- Specified by:
 sessionCreatedin interfaceCreatedJingleSessionListener
 
 -