Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | receive (final BinaryXMPPExtension extension) |
void | connectionClosed (String connectionID, JID remoteJID, IByteStreamConnection connection) |
void | connectionChanged (String connectionID, JID remoteJID, IByteStreamConnection connection, boolean incomingRequest) |
Listener interface used by ITransport and IBytestreamConnection to notify about established or changed connections and incoming XMPP extensions.
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnectionListener.connectionChanged | ( | String | connectionID, |
JID | remoteJID, | ||
IByteStreamConnection | connection, | ||
boolean | incomingRequest | ||
) |
Gets called when a connection change is detected. The IByteStreamConnection connection} must be initialized first by calling IByteStreamConnection#initialize() to be able to receive and send data.
connectionID | the id of the connection |
remoteJID | the JID of the remote side this connection is connected to |
connection | |
incomingRequest | true if the connection was a result of a remote connect request, false if the connect request was initiated on the local side |
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnectionListener.connectionClosed | ( | String | connectionID, |
JID | remoteJID, | ||
IByteStreamConnection | connection | ||
) |
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnectionListener.receive | ( | final BinaryXMPPExtension | extension | ) |
Gets called when a BinaryXMPPExtension} was received.
extension |