convertersystems / opc-ua-client

Visualize and control your enterprise using OPC Unified Architecture (OPC UA) and Visual Studio.
MIT License
403 stars 119 forks source link

Feature request: reconnect handling #255

Closed stioe closed 2 months ago

stioe commented 1 year ago

Implement reconnect after a connection-loss. For longer running OPC-clients it is likely to happen that a connection-loss may occur during its runtime. A connecton loss may happen because:

In either of these cases a connection loss is the result and the OPC-client is no longer connected to the OPC-server. Therefore it would be great if this package then conducts all required operations in order to reestablish a connection to the OPC-server.

Some feature ideas for reconnect handling:

awcullen commented 2 months ago

Restoring subscriptions would be tricky because the client can create, modify and delete monitored items. The package would have to track a lot of info. We better leave this to the developer.