Table of Contents

Interface IDataMapper

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.DataMapper
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll

A IDataMapper can process gNMI notifications and automatically set the values on a certain IDataEntity. When developing a connector, the DataMainerConnectorDataMapper can be used from the Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol package.

public interface IDataMapper
Extension Methods

Properties

ThrottleInterval

The time interval in milliseconds between forwarding the changes that have been applied to the in-memory data model.

Methods

ProcessSubscribeResponse(SubscribeResponse, DataValueOriginType, string)

Processes the gNMI Gnmi.SubscribeResponse and adapts the IDataEntity values accordingly.

ReadExistingValues()

Reads out the existing values and stores them internally.

RegisterSubscriptionPaths(string, IEnumerable<Path>, Action<IEnumerable<GnmiResponseValue>>, SubscriptionMode)

Registers the IDataEntity objects that are linked with a subscription name.

SetLogger(ILogger)

Assigns a logger interface.

SuppressCommunication(bool)

Suppresses the communication, no more values will be filled in or logging will be written out.

UnregisterSubscriptionPaths(string)

Unregisters the paths that are linked with a subscription name.