C# Класс CmisSync.Lib.Consumer.SyncMechanism

Sync mechanism.
Наследование: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Solver ].ISolver[

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateSolver ( ) : ].ISolver[
DoHandle ( AbstractFolderEvent actualEvent ) : void
Solve ( ISolver s, AbstractFolderEvent e ) : void

Описание методов

Handle() публичный Метод

Handles File or FolderEvents and tries to solve the detected situation.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent FileEvent or FolderEvent
Результат bool

SyncMechanism() публичный Метод

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.
Результат System

Описание свойств

Solver публичное свойство

All available solver.
public ISolver[,] Solver
Результат ].ISolver[