C# Class CmisSync.Lib.Producer.ContentChange.ContentChanges

Content changes are collected and published to the queue.
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
ContentChanges ( ISession session, IMetaDataStorage storage, ISyncEventQueue queue, int maxNumberOfContentChanges = 100, bool isPropertyChangesSupported = false ) : System

Initializes a new instance of the ContentChanges class.

Handle ( ISyncEvent e ) : bool

Handle the specified e.

Private Methods

Méthode Description
StartSync ( ) : bool

Tries to start sync algorithm, if connection was successful, this routine returns with true and starts syncing in background, otherwise a fallback mechanism is used

Sync ( ) : void

Method Details

ContentChanges() public méthode

Initializes a new instance of the ContentChanges class.
public ContentChanges ( ISession session, IMetaDataStorage storage, ISyncEventQueue queue, int maxNumberOfContentChanges = 100, bool isPropertyChangesSupported = false ) : System
session ISession Cmis Session.
storage IMetaDataStorage Meta Data Storage.
queue ISyncEventQueue Event Queue.
maxNumberOfContentChanges int Max number of content changes.
isPropertyChangesSupported bool If set to true is property changes supported.
Résultat System

Handle() public méthode

Handle the specified e.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent The event to handle.
Résultat bool