Class FixedTransportManager
java.lang.Object
org.jivesoftware.smackx.jingleold.nat.JingleTransportManager
org.jivesoftware.smackx.jingleold.nat.FixedTransportManager
- All Implemented Interfaces:
CreatedJingleSessionListener
,JingleListener
,JingleSessionListener
public class FixedTransportManager
extends JingleTransportManager
implements JingleSessionListener, CreatedJingleSessionListener
A Fixed Jingle Transport Manager implementation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TransportResolver
createResolver
(JingleSession session) Create a Transport Resolver instance according to the implementation.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.Methods inherited from class org.jivesoftware.smackx.jingleold.nat.JingleTransportManager
getResolver
-
Constructor Details
-
FixedTransportManager
-
-
Method Details
-
createResolver
Description copied from class:JingleTransportManager
Create a Transport Resolver instance according to the implementation.- Specified by:
createResolver
in classJingleTransportManager
- Parameters:
session
- the jingle session.- Returns:
- the TransportResolver
-
sessionEstablished
public void sessionEstablished(PayloadType pt, TransportCandidate rc, TransportCandidate lc, JingleSession jingleSession) Description copied from interface:JingleSessionListener
Notification that the session has been established. Arguments specify the payload type and transport to use.- Specified by:
sessionEstablished
in 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
-
sessionDeclined
Description copied from interface:JingleSessionListener
Notification that the session was declined.- Specified by:
sessionDeclined
in interfaceJingleSessionListener
- Parameters:
reason
- the reason (if any).jingleSession
- Session that called the method
-
sessionRedirected
Description copied from interface:JingleSessionListener
Notification that the session was redirected.- Specified by:
sessionRedirected
in interfaceJingleSessionListener
- Parameters:
redirection
- TODO javadoc me pleasejingleSession
- session that called the method
-
sessionClosed
Description copied from interface:JingleSessionListener
Notification that the session was closed normally.- Specified by:
sessionClosed
in interfaceJingleSessionListener
- Parameters:
reason
- the reason (if any).jingleSession
- Session that called the method
-
sessionClosedOnError
Description copied from interface:JingleSessionListener
Notification that the session was closed due to an exception.- Specified by:
sessionClosedOnError
in interfaceJingleSessionListener
- Parameters:
e
- the exception.jingleSession
- session that called the method
-
sessionMediaReceived
Description copied from interface:JingleSessionListener
Notification that the Media has arrived for this session.- Specified by:
sessionMediaReceived
in interfaceJingleSessionListener
- Parameters:
jingleSession
- session that called the methodparticipant
- description of the participant
-
sessionCreated
- Specified by:
sessionCreated
in interfaceCreatedJingleSessionListener
-