C# Class CmisSync.Lib.Producer.Watcher.WatcherConsumer

Watcher sync.
Inheritance: CmisSync.Lib.Queueing.ReportingSyncEventHandler
Exibir arquivo Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

Method Description
Handle ( ISyncEvent e ) : bool

Handle the specified Event if it is FSEvent.

WatcherConsumer ( ISyncEventQueue queue ) : System

Initializes a new instance of the WatcherConsumer class.

Private Methods

Method Description
HandleFileEvents ( IFSEvent e ) : void

Handles the FSEvents of files and creates FileEvents.

HandleFolderEvents ( IFSEvent e ) : void

Method Details

Handle() public method

Handle the specified Event if it is FSEvent.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent /// The Event. ///
return bool

WatcherConsumer() public method

Initializes a new instance of the WatcherConsumer class.
public WatcherConsumer ( ISyncEventQueue queue ) : System
queue ISyncEventQueue /// Queue where the FSEvents and also the FileEvents and FolderEvents are reported. ///
return System