Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | connectionStateChanged (Connection connection, ConnectionState state) |
A listener for changes to the current connection state. Use XMPPConnectionService#addListener(IConnectionListener) to attach it.
void de.fu_berlin.inf.dpp.net.xmpp.IConnectionListener.connectionStateChanged | ( | Connection | connection, |
ConnectionState | state | ||
) |
Is fired when the state of the connection changes.
connection | The affected XMPP-connection that changed its state |
state | the new state of the connection. If the state is ERROR , you can use XMPPConnectionService#getConnectionError() to get the error message. |
Implemented in de.fu_berlin.inf.dpp.net.internal.DataTransferManager, and de.fu_berlin.inf.dpp.net.internal.XMPPTransmitter.