Files
Martina Felber fd1a1bad89 feat(pubsub): monitoring (example DataSetReader MessageReceiveTimeout)
Added an optional feature to provide a general PubSub monitoring/timeout
handling backend. Build option UA_ENABLE_PUBSUB_MONITORING

The monitoring backend uses the server callback implementation per default.
An application can provide it's own monitoring/timer backend by setting the
monitoring callbacks in the server configuration.

The MessageReceiveTimeout handling of DataSetReaders is provided as an
monitoring example.
The timeout check starts after the DataSetReader has received the first message.
If there is no new message within the configured MessageReceiveTimeout the
DataSetReader state changes to error. An application can get a notification
about this timeout by providing a pubSubStateChangeCallback, which can be
configured at the server configuration.
When the DataSetReader receives a new message again, the state changes back to
operational.
2020-11-30 09:07:41 +01:00
..