Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.session.ISarosSessionListener Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.session.ISarosSessionListener:
de.fu_berlin.inf.dpp.session.NullSarosSessionListener de.fu_berlin.inf.dpp.stf.server.rmi.controlbot.manipulation.impl.NetworkManipulatorImpl

List of all members.

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)

Detailed Description

A listener for ISarosSession life-cycle related events.

Author:
rdjemili

Member Function Documentation

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)

Parameters:
sessionThe corresponding session
monitorthe 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

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

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

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

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

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

 All Classes Namespaces Files Functions Variables Enumerations