To be send to clients for every datachange notification from server
| 59 | |
| 60 | |
| 61 | class 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 | |
| 74 | class Subscription(object): |