Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.net.xmpp.IConnectionListener Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.net.xmpp.IConnectionListener:
de.fu_berlin.inf.dpp.communication.SkypeManager de.fu_berlin.inf.dpp.net.internal.DataTransferManager de.fu_berlin.inf.dpp.net.internal.XMPPTransmitter

List of all members.

Public Member Functions

void connectionStateChanged (Connection connection, ConnectionState state)

Detailed Description

A listener for changes to the current connection state. Use XMPPConnectionService#addListener(IConnectionListener) to attach it.

Author:
rdjemili

Member Function Documentation

void de.fu_berlin.inf.dpp.net.xmpp.IConnectionListener.connectionStateChanged ( Connection  connection,
ConnectionState  state 
)

Is fired when the state of the connection changes.

Parameters:
connectionThe affected XMPP-connection that changed its state
statethe 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.

 All Classes Namespaces Files Functions Variables Enumerations