Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
PermissionManager (ISarosSession sarosSession) | |
void | start () |
void | stop () |
void | initiatePermissionChange (final User user, final Permission newPermission, UISynchronizer synchronizer) throws CancellationException, InterruptedException |
This manager is responsible for handling Permission changes. It both produces and consumes activities.
de.fu_berlin.inf.dpp.project.internal.PermissionManager.PermissionManager | ( | ISarosSession | sarosSession | ) |
void de.fu_berlin.inf.dpp.project.internal.PermissionManager.initiatePermissionChange | ( | final User | user, |
final Permission | newPermission, | ||
UISynchronizer | synchronizer | ||
) | throws CancellationException, InterruptedException |
Initiates a Permission change for a specific user.
This method may only called by the host. This method mustn't be called from the SWT UI thread
Returning after the Permission change is complete
user | The user who's Permission has to be changed |
newPermission | The new Permission of the user |
synchronizer | An Abstraction of the SWT-Thread |
CancellationException | |
InterruptedException |
void de.fu_berlin.inf.dpp.project.internal.PermissionManager.start | ( | ) |
void de.fu_berlin.inf.dpp.project.internal.PermissionManager.stop | ( | ) |