C# Class Aqueduct.Monitoring.ReadingPublisher

Datei anzeigen Open project: aqueduct/Aqueduct.Monitoring

Private Properties

Property Type Description
GetReadingInfo string
NotifySubscribers void
Process void
ProcessReading void
ReadingPublisher System
Reset void
Timer_Elapsed void

Public Methods

Method Description
PublishReading ( Reading reading ) : void
Start ( int processInterval, bool enableTimer = true ) : void
Stop ( ) : void
Subscribe ( ReadingSubscriber subscriber ) : void

Private Methods

Method Description
GetReadingInfo ( Reading reading ) : string
NotifySubscribers ( IList dataPoints ) : void
Process ( ) : void
ProcessReading ( ICollection dataPoints, Reading reading ) : void
ReadingPublisher ( ) : System
Reset ( ) : void
Timer_Elapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

PublishReading() public static method

public static PublishReading ( Reading reading ) : void
reading Aqueduct.Monitoring.Readings.Reading
return void

Start() public static method

public static Start ( int processInterval, bool enableTimer = true ) : void
processInterval int
enableTimer bool
return void

Stop() public static method

public static Stop ( ) : void
return void

Subscribe() public static method

public static Subscribe ( ReadingSubscriber subscriber ) : void
subscriber ReadingSubscriber
return void