Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | send (List< User > recipients, IActivity activity) |
void | execute (IActivity activity) |
Callback interface used by the ActivityHandler to notify the logic that an activity can now be sent or executed. The implementing class is responsible for proper thread synchronization as the callback methods may be called by multiple threads simultaneously.
void de.fu_berlin.inf.dpp.project.internal.IActivityHandlerCallback.execute | ( | IActivity | activity | ) |
Gets called when an activity should be executed.
activity | the activity to execute |
void de.fu_berlin.inf.dpp.project.internal.IActivityHandlerCallback.send | ( | List< User > | recipients, |
IActivity | activity | ||
) |
Gets called when an activity should be send to several session users.
recipients | a list containing the users that should receive the activity |
activity | the activity to send |