Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.session.NullSarosSessionListener Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.session.NullSarosSessionListener:
de.fu_berlin.inf.dpp.session.ISarosSessionListener

List of all members.

Public Member Functions

void sessionStarting (ISarosSession session)
void sessionStarted (ISarosSession session)
void sessionEnding (ISarosSession session)
void sessionEnded (ISarosSession session)
void projectAdded (String projectID)
void postOutgoingInvitationCompleted (ISarosSession session, User user, IProgressMonitor monitor)

Detailed Description

A session listener that does nothing.


Member Function Documentation

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

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

void de.fu_berlin.inf.dpp.session.NullSarosSessionListener.projectAdded ( String  projectID)

Is fired when a project is added to a session

Parameters:
projectIDthe id of the project that has been added

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

void de.fu_berlin.inf.dpp.session.NullSarosSessionListener.sessionEnded ( ISarosSession  session)

Is fired when a session ended.

Parameters:
sessionthe session that has been ended

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

void de.fu_berlin.inf.dpp.session.NullSarosSessionListener.sessionEnding ( ISarosSession  session)

Is fired when a session is about to be ended.

Parameters:
sessionthe session that is about to end null.

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

void de.fu_berlin.inf.dpp.session.NullSarosSessionListener.sessionStarted ( ISarosSession  session)

Is fired when a new session started.

Parameters:
sessionthe session that has been started

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

void de.fu_berlin.inf.dpp.session.NullSarosSessionListener.sessionStarting ( ISarosSession  session)

Is fired when a new session is about to start.

Parameters:
sessionthe session that is about to start

Implements de.fu_berlin.inf.dpp.session.ISarosSessionListener.

 All Classes Namespaces Files Functions Variables Enumerations