IConnector Interface

Represents a connector for Alert monitoring. Connectors are responsible for initializing, processing alert rules, sending heartbeat signals, retrieving status, and handling retry logic.

Definition

Namespace: MobileTrack.Common.Interfaces
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public interface IConnector

Properties

MaxRetryCount Gets the maximum number of retry attempts allowed for a failed operation.
MustRetry Gets a value indicating whether the operation should be retried in case of a transient failure.

Methods

InitializeAsync Initializes the connector. This method should be called before any other operations to prepare the connector (e.g., loading configuration, establishing external connections).
ProcessRuleAsync Processes the given alert processing context and returns the result of the processing.

See Also