Method RegisterSubscriptionPaths
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.DataMapper
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Protocol.dll
RegisterSubscriptionPaths(string, IEnumerable<Path>, Action<IEnumerable<GnmiResponseValue>>, SubscriptionMode)
Registers the parameter IDs that are linked with a subscription name.
public void RegisterSubscriptionPaths(string subscriptionName, IEnumerable<Path> paths, Action<IEnumerable<GnmiResponseValue>> action, SubscriptionMode subscriptionMode)
Parameters
subscriptionName
stringName of the subscription.
paths
IEnumerable<Path>List of paths that are subscribed.
action
Action<IEnumerable<GnmiResponseValue>>The action that needs to be executed when a response comes in.
subscriptionMode
SubscriptionModeThe mode of the subscription.