Republish values of monitored items
Moderator: uasdknet
-
- Hero Member
- Posts: 21
- Joined: 14 Oct 2015, 12:17
Republish values of monitored items
how do I tell subscription to re-publish/refresh statuses/values of all monitored items when subscription already exists wihout recreating/reconnecting it.
- Support Team
- Hero Member
- Posts: 3072
- Joined: 18 Mar 2011, 15:09
Re: Republish values of monitored items
Hello,
A client can call the ResendData method at the Server object using the current SubscriptionId as input argument.
Note: The OPC UA specification describes the intended use of this method. It should only be called in a receonnect scenario where the client detects missing sequence numbers and is not getting them through Republish. Normally (i.e. without or only short network interruptions) a client will receive all DataChangeNotifications and there is no need to call ResendData.
The ResendData method is optional and not supported by all server products.
Best regards
Support Team
A client can call the ResendData method at the Server object using the current SubscriptionId as input argument.
Note: The OPC UA specification describes the intended use of this method. It should only be called in a receonnect scenario where the client detects missing sequence numbers and is not getting them through Republish. Normally (i.e. without or only short network interruptions) a client will receive all DataChangeNotifications and there is no need to call ResendData.
The ResendData method is optional and not supported by all server products.
Best regards
Support Team