Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch:
de.fu_berlin.inf.dpp.session.ISharedProjectListener

List of all members.

Public Member Functions

void permissionChanged (User user)
void userJoined (User user)
void userStartedQueuing (User user)
void userFinishedProjectNegotiation (User user)
void userLeft (User user)
void add (ISharedProjectListener listener)
void remove (ISharedProjectListener listener)

Protected Attributes

List< ISharedProjectListenerlisteners = new CopyOnWriteArrayList<ISharedProjectListener>()

Member Function Documentation

void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.add ( ISharedProjectListener  listener)
void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.permissionChanged ( User  user)

TODO add some easy way to check if given user with Permission#WRITE_ACCESS is the client (you) The user Permission of the given participant has been changed. This is called after the Permission of the user has been updated to represent the new state.

Parameters:
userthe user whose Permission changed.

Implements de.fu_berlin.inf.dpp.session.ISharedProjectListener.

void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.remove ( ISharedProjectListener  listener)
void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.userFinishedProjectNegotiation ( User  user)

Is fired when a finished the Project Negotiation

Parameters:
userthe user that has joined.

Implements de.fu_berlin.inf.dpp.session.ISharedProjectListener.

void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.userJoined ( User  user)

Is fired when an user joins the shared project.

Parameters:
userthe user that has joined.

Implements de.fu_berlin.inf.dpp.session.ISharedProjectListener.

void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.userLeft ( User  user)

Is fired when an user leaves the shared project.

Parameters:
userthe user that has left.

Implements de.fu_berlin.inf.dpp.session.ISharedProjectListener.

void de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch.userStartedQueuing ( User  user)

Is fired when a user started queuing and is now able to process all Activities

Parameters:
userthe user that has joined.

Implements de.fu_berlin.inf.dpp.session.ISharedProjectListener.


Member Data Documentation

 All Classes Namespaces Files Functions Variables Enumerations