Is there a way to get the count of total subscribed items?
If my application has subscribed x RICs, is there a function call that I can get total subscribed RICS?
Hello @diego.cepeda ,
There is no subscription count function provided by RFA API.
When an item is subscribed, the item handle is returned. A consumer should retain the handle during the lifetime of the subscription.
A consumer wishing to unsubscribe an item needs to have the handle to the item, in order to unsubscribe, to pass the handle into the call to unregister the interest in the item.
Therefore, by counting handles retained, a consumer is always able to know it's subscription count.
If you are designing a new consumer application, I would suggest to use the new and continuously improving Refinitiv Real-Time SDK APIs: C/C++ Edition rather then RFA C++ that is, at present, a feature-complete API remaining supported in it's latest versions only.
Hope that this information helps