Replies: 2 comments
-
|
@TaheJdidi The SDK has a ReconnectHandler that fulfills this usecase. It also transfers subscriptions to a new Session using the TransferSubscriptionService Set |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the explanation. In my case, I explicitly need a new session without reusing or transferring any existing subscriptions. Is the recommended approach: to use SessionReconnectHandler and explicitly delete transferred subscriptions after reconnection, or to avoid ReconnectHandler and create a fresh session manually? I want to ensure this aligns with SDK and OPC UA best practices. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Type of issue
Current Behavior
Hello,
I’m working with an OPC UA client and I’m looking for clarification about reconnection behavior.
When the client temporarily loses the connection to the server (e.g., network interruption or server restart), is there any supported or recommended mechanism in the SDK to reconnect the session automatically without recreating existing subscriptions.
I need a new session without old subscriptions
Thank you for your guidance.
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions