D - JingleContentTransport.public abstract class JingleTransportManager<D extends JingleContentTransport> extends AbstractConnectionListener
| Constructor and Description |
|---|
JingleTransportManager(XMPPConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
connected(XMPPConnection connection)
Notification that the connection has been successfully connected to the remote endpoint (e.g.
|
void |
connectionClosed()
Notification that the connection was closed normally.
|
void |
connectionClosedOnError(Exception e)
Notification that the connection was closed due to an exception.
|
XMPPConnection |
getConnection() |
abstract String |
getNamespace() |
abstract JingleTransportSession<D> |
transportSession(JingleSession jingleSession) |
authenticatedpublic JingleTransportManager(XMPPConnection connection)
public XMPPConnection getConnection()
public abstract String getNamespace()
public abstract JingleTransportSession<D> transportSession(JingleSession jingleSession)
public void connected(XMPPConnection connection)
ConnectionListenerNote that the connection is likely not yet authenticated and therefore only limited operations like registering an account may be possible.
connected in interface ConnectionListenerconnected in class AbstractConnectionListenerconnection - the XMPPConnection which successfully connected to its endpoint.public void connectionClosed()
ConnectionListenerconnectionClosed in interface ConnectionListenerconnectionClosed in class AbstractConnectionListenerpublic void connectionClosedOnError(Exception e)
ConnectionListenerconnectionClosedOnError in interface ConnectionListenerconnectionClosedOnError in class AbstractConnectionListenere - the exception.