Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
ConsistencyWatchdogClient (final ISarosSessionManager sessionManager, final IsInconsistentObservable inconsistencyToResolve, final EditorManager editorManager, final IEditorAPI editorAPI, final RemoteProgressManager remoteProgressManager) | |
void | dispose () |
Set< SPath > | getPathsWithWrongChecksums () |
void | runRecovery (IProgressMonitor monitor) |
This class is responsible for two things:
This class both produces and consumes activities.
de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogClient.ConsistencyWatchdogClient | ( | final ISarosSessionManager | sessionManager, |
final IsInconsistentObservable | inconsistencyToResolve, | ||
final EditorManager | editorManager, | ||
final IEditorAPI | editorAPI, | ||
final RemoteProgressManager | remoteProgressManager | ||
) |
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogClient.dispose | ( | ) |
Set<SPath> de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogClient.getPathsWithWrongChecksums | ( | ) |
Returns the set of files for which the ConsistencyWatchdog has identified an inconsistency
void de.fu_berlin.inf.dpp.concurrent.watchdog.ConsistencyWatchdogClient.runRecovery | ( | IProgressMonitor | monitor | ) |
Start a consistency recovery by sending a checksum error to the host and waiting for his reply.
The cancellation of this method is not implemented, so canceling the given monitor does not have any effect.
This method should not be called from SWT This method returns after the recovery has finished Can only be called on the client!