MCPcopy Create free account
hub / github.com/FreeOpcUa/python-opcua / SubHandler

Class SubHandler

examples/client_to_prosys.py:10–20  ·  view source on GitHub ↗

Client to subscription. It will receive events from server

Source from the content-addressed store, hash-verified

8
9
10class SubHandler(object):
11
12 """
13 Client to subscription. It will receive events from server
14 """
15
16 def datachange_notification(self, node, val, data):
17 print("Python: New data change event", node, val)
18
19 def event_notification(self, event):
20 print("Python: New event", event)
21
22
23if __name__ == "__main__":

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected