Table of Contents

Method StartValueMonitor

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

StartValueMonitor(string, string, Action<CellValueChange<T>>, TimeSpan, bool)

Starts monitoring value changes. Every change will perform the onChange action.

void StartValueMonitor(string sourceId, string primaryKey, Action<CellValueChange<T>> onChange, TimeSpan subscribeTimeout, bool includeCurrentValues)

Parameters

sourceId string

The identifier of the data source containing the cell to monitor. Cannot be null or empty.

primaryKey string

The primary key that uniquely identifies the cell within the data source. Cannot be null or empty.

onChange Action<CellValueChange<T>>

The callback to invoke when the cell value changes.

subscribeTimeout TimeSpan

Subscribe timeout.

includeCurrentValues bool

true to also receive the current values; otherwise false.

Remarks

From DataMiner version 10.5, for optimal performance, subscriptions intended for DVE elements should be registered on their parent element instead. DMS Monitor will use Message Broker subscriptions instead of SLNet to receive parameter updates.

StartValueMonitor(string, string, Action<CellValueChange<T>>, bool)

Starts monitoring value changes. Every change will perform the onChange action.

void StartValueMonitor(string sourceId, string primaryKey, Action<CellValueChange<T>> onChange, bool includeCurrentValues)

Parameters

sourceId string

The identifier of the data source containing the cell to monitor. Cannot be null or empty.

primaryKey string

The primary key that uniquely identifies the cell within the data source. Cannot be null or empty.

onChange Action<CellValueChange<T>>

The callback to invoke when the cell value changes.

includeCurrentValues bool

true to also receive the current values; otherwise false.

Remarks

From DataMiner version 10.5, for optimal performance, subscriptions intended for DVE elements should be registered on their parent element instead. DMS Monitor will use Message Broker subscriptions instead of SLNet to receive parameter updates.

StartValueMonitor(string, Action<ColumnValueChange<T>>, TimeSpan, bool)

Starts monitoring value changes. Every change will perform the onChange action.

void StartValueMonitor(string sourceId, Action<ColumnValueChange<T>> onChange, TimeSpan subscribeTimeout, bool includeCurrentValues)

Parameters

sourceId string

The identifier of the data source. Cannot be null or empty.

onChange Action<ColumnValueChange<T>>

The callback to invoke when the column values changes.

subscribeTimeout TimeSpan

Subscribe timeout.

includeCurrentValues bool

true to also receive the current values; otherwise false.

Exceptions

NotSupportedException

Thrown when subscriptions to DVE elements are not supported, nor to columns in this DataMiner version.

StartValueMonitor(string, Action<ColumnValueChange<T>>, bool)

Starts monitoring value changes. Every change will perform the onChange action.

void StartValueMonitor(string sourceId, Action<ColumnValueChange<T>> onChange, bool includeCurrentValues)

Parameters

sourceId string

The identifier of the data source. Cannot be null or empty.

onChange Action<ColumnValueChange<T>>

The callback to invoke when the column values changes.

includeCurrentValues bool

true to also receive the current values; otherwise false.

Exceptions

NotSupportedException

Thrown when subscriptions to DVE elements are not supported, nor to columns in this DataMiner version.

Advanced search syntax