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

Class SubHandler

examples/client_to_kepware.py:8–18  ·  view source on GitHub ↗

Client to subscription. It will receive events from server

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected