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

Methods

ProcessNotification(Notification, DataValueOriginType, bool, string)

Processes the gNMI notification and adapts the IDataEntity values accordingly.

ReadExistingValues()

Reads out the existing values and stores them internally.

RegisterSubscriptionPaths(string, IEnumerable<Path>)

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.