C# Class CmisSync.Lib.Consumer.SyncMechanism

Sync mechanism.
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Mostra file Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Properties

Property Type Description
Solver ].ISolver[

Public Methods

Method Description
Handle ( ISyncEvent e ) : bool

Handles File or FolderEvents and tries to solve the detected situation.

SyncMechanism ( ISituationDetection localSituation, ISituationDetection remoteSituation, ISyncEventQueue queue, ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ActivityListenerAggregator activityListener, IFilterAggregator filters, ISolver solver = null ) : System

Initializes a new instance of the SyncMechanism class.

Private Methods

Method Description
CreateSolver ( ) : ].ISolver[
DoHandle ( AbstractFolderEvent actualEvent ) : void
Solve ( ISolver s, AbstractFolderEvent e ) : void

Method Details

Handle() public method

Handles File or FolderEvents and tries to solve the detected situation.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent FileEvent or FolderEvent
return bool

SyncMechanism() public method

Initializes a new instance of the SyncMechanism class.
public SyncMechanism ( ISituationDetection localSituation, ISituationDetection remoteSituation, ISyncEventQueue queue, ISession session, IMetaDataStorage storage, IFileTransmissionStorage transmissionStorage, ActivityListenerAggregator activityListener, IFilterAggregator filters, ISolver solver = null ) : System
localSituation ISituationDetection Local situation.
remoteSituation ISituationDetection Remote situation.
queue ISyncEventQueue Sync event queue.
session ISession CMIS Session.
storage IMetaDataStorage Meta data storage.
transmissionStorage IFileTransmissionStorage File transmission storage.
activityListener ActivityListenerAggregator Active sync progress listener.
filters IFilterAggregator Ignore filter.
solver ISolver Solver for custom solver matrix.
return System

Property Details

Solver public_oe property

All available solver.
public ISolver[,] Solver
return ].ISolver[