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

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)

Detailed Description

Listens for events that can happen during a Saros session. For life-cycle events like the start and end of sessions use the ISarosSessionListener.

TODO: Rename, it has nothing to do with projects.

Author:
rdjemili

Member Function Documentation

void de.fu_berlin.inf.dpp.session.ISharedProjectListener.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.

Implemented in de.fu_berlin.inf.dpp.session.AbstractSharedProjectListener, de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch, and de.fu_berlin.inf.dpp.core.project.internal.SharedProjectListenerDispatch.

void de.fu_berlin.inf.dpp.session.ISharedProjectListener.userFinishedProjectNegotiation ( User  user)
void de.fu_berlin.inf.dpp.session.ISharedProjectListener.userJoined ( User  user)
void de.fu_berlin.inf.dpp.session.ISharedProjectListener.userLeft ( User  user)
void de.fu_berlin.inf.dpp.session.ISharedProjectListener.userStartedQueuing ( User  user)

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

Parameters:
userthe user that has joined.

Implemented in de.fu_berlin.inf.dpp.session.AbstractSharedProjectListener, de.fu_berlin.inf.dpp.project.internal.SharedProjectListenerDispatch, and de.fu_berlin.inf.dpp.core.project.internal.SharedProjectListenerDispatch.

 All Classes Namespaces Files Functions Variables Enumerations