Inheritance diagram for HealthManager:

Public Member Functions

 HealthManager (string ip)
 
 HealthManager (HealthDealerConfiguration dealer, HealthSubscriberConfiguration subscriber)
 
 HealthManager (int routePort, int publishPort)
 
IEnumerable< IHealthStatusGetCurrentStatusList ()
 return a list with the last value of every of the status that have been reported to the Health Service More...
 
IEnumerable< IHealthStatusGetPendingStatusList ()
 return a list with the pending status to be reported to the configured WS or endpoint More...
 
void ReportNewStatus (string key, string value, HealthStatusPriority.Priority priority)
 Report a new status to the Health Service, which will be later reported to the configured WS More...
 
IEnumerable< IDeviceInformationGetDeviceInfoList ()
 Return a list with the information of all the peripherals More...
 
override void Dispose ()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Additional Inherited Members

- Public Attributes inherited from DeepsyDisposable
bool IsDiposed => Disposed
 
- Protected Attributes inherited from DeepsyDisposable
bool Disposed = false
 

Member Function Documentation

IEnumerable<IHealthStatus> GetCurrentStatusList ( )
Returns
Retrieve list of current status
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IHealthManager.

IEnumerable<IDeviceInformation> GetDeviceInfoList ( )
Returns
Retrieve a list with the information of all the peripherals
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IHealthManager.

IEnumerable<IHealthStatus> GetPendingStatusList ( )
Returns
Retrieve list of pending status to be reported to the configured WS or endpoint
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IHealthManager.

void ReportNewStatus ( string  key,
string  value,
HealthStatusPriority.Priority  priority 
)
Parameters
keyKey
valueValue
priorityPriority
Exceptions
NotAvailableException (NOT_AVAILABLE)Thrown when service is not available
NotAvailableException (DPY_TIMEOUT)Thrown when service don't respond in time
HalExceptionThrown when service returns an error

Implements IHealthManager.