C# Class CmisSync.Lib.Queueing.DelayRetryAndNextSyncEventHandler

Delay StartNextSyncEvents and AbstractFolderEvents with RetryCounter > 0. Events are only retried if no full sync is requested as they are obsolete then.
Inheritance: ReportingSyncEventHandler
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
DelayRetryAndNextSyncEventHandler ( ISyncEventQueue queue ) : System.Collections.Generic

Initializes a new instance of the CmisSync.Lib.Queueing.DelayRetryAndNextSyncEventHandler class.

Handle ( ISyncEvent e ) : bool

Handle the specified e if AbstractFolderEvent or StartNextSyncEvent.

Private Methods

Méthode Description
DelayEventIfRetryCountPositive ( AbstractFolderEvent fileOrFolderEvent ) : bool
DelayNextSyncEvent ( StartNextSyncEvent startNextSyncEvent ) : void
FireDelayedEventsIfQueueIsEmpty ( ) : void
SyncHasToBeDelayed ( ) : bool

Method Details

DelayRetryAndNextSyncEventHandler() public méthode

Initializes a new instance of the CmisSync.Lib.Queueing.DelayRetryAndNextSyncEventHandler class.
public DelayRetryAndNextSyncEventHandler ( ISyncEventQueue queue ) : System.Collections.Generic
queue ISyncEventQueue /// The SyncEventQueue. ///
Résultat System.Collections.Generic

Handle() public méthode

Handle the specified e if AbstractFolderEvent or StartNextSyncEvent.
public Handle ( ISyncEvent e ) : bool
e ISyncEvent /// The ISyncEvent. ///
Résultat bool