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