Example for Event Subscription in server

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
User avatar
h2k_toy
Sr. Member
Sr. Member
Posts: 14
Joined: 24 Sep 2020, 09:13

Example for Event Subscription in server

Post by h2k_toy »

I dont know how the client implementation works, but i assume my server gets notified when a event listener is added or removed or something?

I want to avoid ReportEvent calls to nodes not being observed (because i have a lot of them, maybe a few hundred with thousands of variables.)

I would only need a bool variable that tells, wether there is one or more listeners registered to a node and an apropriate event for updating the subscription.

Is there an example in the sdk for enabling/disabling event notification in the server in terms of active subscription by a client?

Which example is it?

Can you please post some code snippets for doing this?

Thanks in advance!

Post Reply