Click or drag to resize

IServiceMonitor Interface

Interface for an adapter that monitors the health of a service.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.207-beta
Syntax
View Source

The IServiceMonitor type exposes the following members.

Properties
 NameDescription
Public propertyDomain Gets the AppDomain in which the IAdapter is executing.
(Inherited from IAdapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle)
Public propertyHostFile Gets or sets the path to the file where the IAdapter is housed.
(Inherited from IAdapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyMemoryUsage Gets the memory utilization of the IAdapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from IAdapter)
Public propertyName Gets the name of the object providing status information.
(Inherited from IProvideStatus)
Public propertyPersistSettings Determines whether the object settings are to be persisted to the config file.
(Inherited from IPersistSettings)
Public propertyProcessorUsage Gets the % processor utilization of the IAdapter if executing in a separate AppDomain otherwise NaN.
(Inherited from IAdapter)
Public propertySettingsCategory Gets or sets the category name under which the object settings are persisted in the config file.
(Inherited from IPersistSettings)
Public propertyStatus Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
Public propertyTypeName Gets or sets the text representation of the IAdapter's TypeName.
(Inherited from IAdapter)
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodHandleClientMessage Handles messages sent by a client.
Public methodHandleServiceError Handles messages received by the service whenever the service encounters an error.
Public methodHandleServiceHeartbeat Handles notifications from the service that occur on an interval to indicate that the service is still running.
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodLoadSettings Loads saved settings from the config file.
(Inherited from IPersistSettings)
Public methodSaveSettings Saves settings to the config file.
(Inherited from IPersistSettings)
Top
Events
 NameDescription
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from IAdapter)
Public eventStatusUpdate Occurs when the IAdapter wants to provide a status update.
(Inherited from IAdapter)
Top
See Also