Class JingleTransportManager<D extends JingleContentTransport>
java.lang.Object
org.jivesoftware.smackx.jingle.transports.JingleTransportManager<D>
- Type Parameters:
D
- JingleContentTransport.
- All Implemented Interfaces:
ConnectionListener
- Direct Known Subclasses:
JingleIBBTransportManager
,JingleS5BTransportManager
public abstract class JingleTransportManager<D extends JingleContentTransport>
extends Object
implements ConnectionListener
Manager for a JingleTransport method.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connected
(XMPPConnection connection) Notification that the connection has been successfully connected to the remote endpoint (e.g.void
Notification that the connection was closed normally.void
Notification that the connection was closed due to an exception.abstract String
abstract JingleTransportSession<D>
transportSession
(JingleSession jingleSession) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.ConnectionListener
authenticated, connecting
-
Constructor Details
-
JingleTransportManager
-
-
Method Details
-
getConnection
-
connection
-
getNamespace
-
transportSession
-
connected
Description copied from interface:ConnectionListener
Notification that the connection has been successfully connected to the remote endpoint (e.g. the XMPP server).Note that the connection is likely not yet authenticated and therefore only limited operations like registering an account may be possible.
- Specified by:
connected
in interfaceConnectionListener
- Parameters:
connection
- the XMPPConnection which successfully connected to its endpoint.
-
connectionClosed
Description copied from interface:ConnectionListener
Notification that the connection was closed normally.- Specified by:
connectionClosed
in interfaceConnectionListener
-
connectionClosedOnError
Description copied from interface:ConnectionListener
Notification that the connection was closed due to an exception. When abruptly disconnected it is possible for the connection to try reconnecting to the server.- Specified by:
connectionClosedOnError
in interfaceConnectionListener
- Parameters:
e
- the exception.
-