Subscription Handler. To receive events from server for a subscription
| 8 | |
| 9 | |
| 10 | class SubHandler(object): |
| 11 | |
| 12 | """ |
| 13 | Subscription Handler. To receive events from server for a subscription |
| 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.EventType) |
| 21 | |
| 22 | |
| 23 |
no outgoing calls
no test coverage detected