Domain Detective

API Reference

Class

MonitorScheduler

Namespace DomainDetective.Monitoring
Assembly DomainDetective

Schedules periodic domain analyses and issues notifications on changes.

Inheritance

  • Object
  • MonitorScheduler

Remarks

The scheduler orchestrates several monitoring components and raises notifications when their state changes between executions.

Constructors

Methods

public async Task RunAsync(CancellationToken ct = null) #
Returns: Task

Runs all analyses once.

Parameters

ct System.Threading.CancellationToken = null optionalposition: 0
public Void Start() #
Returns: Void

Starts the scheduler.

public Void Stop() #
Returns: Void

Stops the scheduler.

public async Task StopAsync() #
Returns: Task

Stops the scheduler asynchronously.

Properties

public List<String> Domains { get; } #

Domains to monitor.

public TimeSpan Interval { get; set; } #

Interval between runs.

public Int32 MaxDomainParallelism { get; set; } #

Maximum number of domains analyzed concurrently in one run.

public INotificationSender Notifier { get; set; } #

Notification sender.

public Func<String, Task<DomainSummary>> SummaryOverride { get; set; } #

Override summary generation for testing.

public Func<String, Task<Entry>> CertificateOverride { get; set; } #

Override certificate check for testing.

public Func<String, CancellationToken, Task<Dictionary<String, Int32>>> BgpOverride { get; set; } #

Override BGP prefix query for testing.

{{ include "footer" }}