Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
void | postOutgoingInvitationCompleted (ISarosSession session, User user, IProgressMonitor monitor) |
void | sessionStarting (ISarosSession session) |
void | sessionStarted (ISarosSession session) |
void | sessionEnding (ISarosSession session) |
void | sessionEnded (ISarosSession session) |
void | projectAdded (String projectID) |
A listener for ISarosSession life-cycle related events.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.postOutgoingInvitationCompleted | ( | ISarosSession | session, |
User | user, | ||
IProgressMonitor | monitor | ||
) |
Is fired after invitation complete but for every peer the host invited. At this state, the session is fully established and confirmed but the outgoing session negotiation job is still running.
Can be used by session components to plug their synchronization process in the session negotiation.
Implementations must not block for too long, because this blocks the whole invitation process.
TODO: remove this method as soon as external components like the whiteboard are maintained in another way (i.e. a component interface)
session | The corresponding session |
monitor | the invitation process's monitor to track process and cancellation |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.projectAdded | ( | String | projectID | ) |
Is fired when a project is added to a session
projectID | the id of the project that has been added |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.sessionEnded | ( | ISarosSession | session | ) |
Is fired when a session ended.
session | the session that has been ended |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.sessionEnding | ( | ISarosSession | session | ) |
Is fired when a session is about to be ended.
session | the session that is about to end null . |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.sessionStarted | ( | ISarosSession | session | ) |
Is fired when a new session started.
session | the session that has been started |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.
void de.fu_berlin.inf.dpp.session.ISarosSessionListener.sessionStarting | ( | ISarosSession | session | ) |
Is fired when a new session is about to start.
session | the session that is about to start |
Implemented in de.fu_berlin.inf.dpp.session.NullSarosSessionListener, and de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl.