Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
JID | getPeer () |
void | close () |
boolean | isConnected () |
void | initialize () |
void | send (TransferDescription data, byte[] content) throws IOException |
String | getConnectionID () |
ConnectionMode | getMode () |
A IConnection is responsible for sending data to a particular user
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.close | ( | ) |
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
String de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.getConnectionID | ( | ) |
Returns the connection id of this connection.
null
if the connection has no id Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
ConnectionMode de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.getMode | ( | ) |
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
JID de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.getPeer | ( | ) |
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.initialize | ( | ) |
Initializes the byte stream connection. After the initialization is performed the byte stream connection must be able to send and receive data.
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
boolean de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.isConnected | ( | ) |
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.
void de.fu_berlin.inf.dpp.net.internal.IByteStreamConnection.send | ( | TransferDescription | data, |
byte[] | content | ||
) | throws IOException |
If this call returns the data has been send successfully, otherwise an IOException is thrown with the reason why the transfer failed.
data | The data to be sent. |
IOException | if the send failed Send the given data as a blocking operation. |
Implemented in de.fu_berlin.inf.dpp.net.internal.BinaryChannelConnection.