Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | sent (ConnectionMode mode, long sizeCompressed, long sizeUncompressed, long duration) |
void | received (ConnectionMode mode, long sizeCompressed, long sizeUncompressed, long duration) |
Listener for tracking network traffic. Note: It is up to the implementation to do synchronization as the methods offered by this listener may be called in parallel.
void de.fu_berlin.inf.dpp.net.ITransferListener.received | ( | ConnectionMode | mode, |
long | sizeCompressed, | ||
long | sizeUncompressed, | ||
long | duration | ||
) |
Gets called when data was received. The actual size of the real data that was received is the compressed size.
mode | the mode used for receiving |
sizeCompressed | the compressed size of the data |
sizeUncompressed | the uncompressed size of the data |
duration | time in milliseconds it took to receive the data |
void de.fu_berlin.inf.dpp.net.ITransferListener.sent | ( | ConnectionMode | mode, |
long | sizeCompressed, | ||
long | sizeUncompressed, | ||
long | duration | ||
) |
Gets called when data was sent. The actual size of the real data that was send is the compressed size.
mode | the mode used for sending |
sizeCompressed | the compressed size of the data |
sizeUncompressed | the uncompressed size of the data |
duration | time in milliseconds it took to send the data |