Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
boolean | receivedPacket (BinaryXMPPExtension extension) |
boolean | sendPacket (String connectID, TransferDescription description, byte[] payload) |
An interface for intercepting packages that are about to send or dispatched via the DataTransferManager
boolean de.fu_berlin.inf.dpp.net.IPacketInterceptor.receivedPacket | ( | BinaryXMPPExtension | extension | ) |
This method is called before the DataTransferManager is dispatching the packet.
extension |
true
if the packet should be dispatched, false
if the packet should be dropped boolean de.fu_berlin.inf.dpp.net.IPacketInterceptor.sendPacket | ( | String | connectID, |
TransferDescription | description, | ||
byte[] | payload | ||
) |
This method is called before the DataTransferManager is sending the packet.
connectID | |
description | |
payload |
true
if the packet should be send, false
if the packet should be dropped