C# Class Drey.Configuration.ServiceModel.ReportHealthService

Reports health statistics to the server, for display and diagnostic usage.
Inheritance: IReportPeriodically, IDisposable
Show file Open project: dealproc/Drey

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReportHealthService ( INutConfiguration configurationManager ) : Drey.Configuration.Infrastructure
Start ( IHubConnectionManager hubConnectionManager, IHubProxy runtimeHubProxy ) : System.Threading.Tasks.Task

Starts the Health Service.

Stop ( ) : System.Threading.Tasks.Task

Stops the Health Service.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
DiscoverDotNetFrameworks ( ) : void
Report ( ) : void

Reports to the broker the current health information of this client.

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
return void

ReportHealthService() public method

public ReportHealthService ( INutConfiguration configurationManager ) : Drey.Configuration.Infrastructure
configurationManager INutConfiguration
return Drey.Configuration.Infrastructure

Start() public method

Starts the Health Service.
public Start ( IHubConnectionManager hubConnectionManager, IHubProxy runtimeHubProxy ) : System.Threading.Tasks.Task
hubConnectionManager IHubConnectionManager The hub connection manager.
runtimeHubProxy IHubProxy The runtime hub proxy.
return System.Threading.Tasks.Task

Stop() public method

Stops the Health Service.
public Stop ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task