Commit 1e9fd36
Separate events’ emitting nodes from their SourceNodes
!! Warning, API-breaking changes!
When closely reading the spec, events are emitted by one node, and refer
to their SourceNode in an attribute — the SourceNode can and often will
be different from the emitting node.
Until now, python-opcua assumed these two to be identical. This commit
tries to straighten this situation.
To that end, we introduce new parameters in the eventgenerator,
Event-class and all children thereof. The EventGenerator will now try to
honor emitting nodes given to it, but still handle and add SourceNodes.
The InternalSubscription finally serializing and emitting the event is
adapted to this new behavior.1 parent c001157 commit 1e9fd36
File tree
5 files changed
+160
-161
lines changed- opcua
- common
- server
5 files changed
+160
-161
lines changed
0 commit comments