Saros
Distributed Collaborative Editing and Distributed Party Programming
Package de.fu_berlin.inf.dpp.concurrent.watchdog

Classes

class  ConsistencyWatchdogClient
class  ConsistencyWatchdogHandler
class  ConsistencyWatchdogServer
class  DocumentChecksum
class  IsInconsistentObservable

Detailed Description

Consistency Watchdog Module Overview

The consistency watchdog is one of the most important modules in Saros, because it is responsible to recover from situations such as programming faults or misuse by the user which have caused an inconsistent state between the participants in a Saros session.

Def: Consistency == The state of having files and folders equivalent to those at the hosts side.

This definition has three important parts:

  1. Consistency is about files and folders, not about Editors, Viewports or Permissions

  2. The host is the reference point for consistency. The host himself thus can never be in an inconsistent state.

  3. The word "equivalent" needs some caution. Because Saros allows multiple participants to write concurrently, consistency is naturally a relative concept. The best way of thinking about it is, that if everybody stops changing files and folders, the project should eventually become consistent.

How does it work in Saros?

Important components are:

 All Classes Namespaces Files Functions Variables Enumerations