Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer:
de.fu_berlin.inf.dpp.session.AbstractActivityProducer de.fu_berlin.inf.dpp.synchronize.Blockable de.fu_berlin.inf.dpp.session.IActivityProducer

List of all members.

Public Member Functions

 ConsistencyWatchdogServer (ISarosSession session, EditorManager editorManager, IEditorAPI editorAPI, StopManager stopManager, UISynchronizer synchronizer)
void start ()
void stop ()
void block ()
void unblock ()

Detailed Description

This class is an eclipse job run on the host side ONLY.

The job computes checksums for all files currently managed by Jupiter (the ConcurrentDocumentManager) and sends them to all guests.

These will call their ConcurrentDocumentManager.check(...) method, to verify that their version is correct.

Once started with schedule() the job is scheduled to rerun every INTERVAL ms.

Author:
chjacob

TODO Make ConsistencyWatchDog configurable => Timeout, Whether run or not, etc.


Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.ConsistencyWatchdogServer ( ISarosSession  session,
EditorManager  editorManager,
IEditorAPI  editorAPI,
StopManager  stopManager,
UISynchronizer  synchronizer 
)

Member Function Documentation

void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.block ( )
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.start ( )
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.stop ( )
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.unblock ( )
 All Classes Namespaces Files Functions Variables Enumerations