Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
ConsistencyWatchdogServer (ISarosSession session, EditorManager editorManager, IEditorAPI editorAPI, StopManager stopManager, UISynchronizer synchronizer) | |
void | start () |
void | stop () |
void | block () |
void | unblock () |
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.
TODO Make ConsistencyWatchDog configurable => Timeout, Whether run or not, etc.
de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.ConsistencyWatchdogServer | ( | ISarosSession | session, |
EditorManager | editorManager, | ||
IEditorAPI | editorAPI, | ||
StopManager | stopManager, | ||
UISynchronizer | synchronizer | ||
) |
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogServer.block | ( | ) |
Implements de.fu_berlin.inf.dpp.synchronize.Blockable.
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 | ( | ) |
Implements de.fu_berlin.inf.dpp.synchronize.Blockable.