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

Class DataChangeNotif

opcua/common/subscription.py:61–71  ·  view source on GitHub ↗

To be send to clients for every datachange notification from server

Source from the content-addressed store, hash-verified

59
60
61class DataChangeNotif(object):
62 """
63 To be send to clients for every datachange notification from server
64 """
65 def __init__(self, subscription_data, monitored_item):
66 self.monitored_item = monitored_item
67 self.subscription_data = subscription_data
68
69 def __str__(self):
70 return "DataChangeNotification({0}, {1})".format(self.subscription_data, self.monitored_item)
71 __repr__ = __str__
72
73
74class Subscription(object):

Callers 1

_call_datachangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected