Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.project.internal.IActivityHandlerCallback Interface Reference

List of all members.

Public Member Functions

void send (List< User > recipients, IActivity activity)
void execute (IActivity activity)

Detailed Description

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.

Author:
Stefan Rossbach

Member Function Documentation

void de.fu_berlin.inf.dpp.project.internal.IActivityHandlerCallback.execute ( IActivity  activity)

Gets called when an activity should be executed.

Parameters:
activitythe 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.

Parameters:
recipientsa list containing the users that should receive the activity
activitythe activity to send
 All Classes Namespaces Files Functions Variables Enumerations