C# Class CmisSync.Lib.ActivityListenerAggregator

Aggregates the activity status of multiple processes The overall activity is considered "started" if any of the processes is "started"; Example chronology (only started/stopped are important, active/down here for readability): PROCESS1 PROCESS2 OVERALL DOWN DOWN DOWN STARTED DOWN STARTED ACTIVE STARTED ACTIVE ACTIVE ACTIVE ACTIVE STOPPED ACTIVE ACTIVE DOWN ACTIVE ACTIVE DOWN STOPPED STOPPED DOWN DOWN DOWN
Inheritance: IActivityListener
Afficher le fichier Open project: OpenDataSpace/CmisSync Class Usage Examples

Méthodes publiques

Méthode Description
ActivityListenerAggregator ( IActivityListener overallListener, TransmissionManager transmissionManager ) : System

Initializes a new instance of the CmisSync.Lib.ActivityListenerAggregator class.

ActivityStarted ( ) : void

Call this method to indicate that activity has started.

ActivityStopped ( ) : void

Call this method to indicate that activity has stopped.

Method Details

ActivityListenerAggregator() public méthode

Initializes a new instance of the CmisSync.Lib.ActivityListenerAggregator class.
public ActivityListenerAggregator ( IActivityListener overallListener, TransmissionManager transmissionManager ) : System
overallListener IActivityListener The activity listener to which aggregated activity will be sent.
transmissionManager TransmissionManager Transmission manager.
Résultat System

ActivityStarted() public méthode

Call this method to indicate that activity has started.
public ActivityStarted ( ) : void
Résultat void

ActivityStopped() public méthode

Call this method to indicate that activity has stopped.
public ActivityStopped ( ) : void
Résultat void