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

Content changes are collected and published to the queue.
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
ファイルを表示 Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method 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

Method 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 method

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.
return System

Handle() public method

Handle the specified e.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent The event to handle.
return bool