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
ファイルを表示 Open project: OpenDataSpace/CmisSync Class Usage Examples

Public Methods

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

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

ActivityStarted() public method

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

ActivityStopped() public method

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