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) |
authenticated
public JingleTransportManager(XMPPConnection connection)
public XMPPConnection getConnection()
public abstract String getNamespace()
public abstract JingleTransportSession<D> transportSession(JingleSession jingleSession)
public void connected(XMPPConnection connection)
ConnectionListener
Note that the connection is likely not yet authenticated and therefore only limited operations like registering an account may be possible.
connected
in interface ConnectionListener
connected
in class AbstractConnectionListener
connection
- the XMPPConnection which successfully connected to its endpoint.public void connectionClosed()
ConnectionListener
connectionClosed
in interface ConnectionListener
connectionClosed
in class AbstractConnectionListener
public void connectionClosedOnError(Exception e)
ConnectionListener
connectionClosedOnError
in interface ConnectionListener
connectionClosedOnError
in class AbstractConnectionListener
e
- the exception.