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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnected(XMPPConnection connection) Notification that the connection has been successfully connected to the remote endpoint (e.g.voidNotification that the connection was closed normally.voidNotification that the connection was closed due to an exception.abstract Stringabstract JingleTransportSession<D>transportSession(JingleSession jingleSession) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.ConnectionListener
authenticated, connecting
-
Constructor Details
-
JingleTransportManager
-
-
Method Details
-
getConnection
-
connection
-
getNamespace
-
transportSession
-
connected
Description copied from interface:ConnectionListenerNotification 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:
connectedin interfaceConnectionListener- Parameters:
connection- the XMPPConnection which successfully connected to its endpoint.
-
connectionClosed
Description copied from interface:ConnectionListenerNotification that the connection was closed normally.- Specified by:
connectionClosedin interfaceConnectionListener
-
connectionClosedOnError
Description copied from interface:ConnectionListenerNotification 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:
connectionClosedOnErrorin interfaceConnectionListener- Parameters:
e- the exception.
-