Link a python function to a UA method in the address space; required when a UA method has been imported to the address space via XML; the python executable must be linked manually Args: node: UA method node callback: python function that the UA method
(self, node, callback)
| 603 | self.iserver.unsubscribe_server_callback(event, handle) |
| 604 | |
| 605 | def link_method(self, node, callback): |
| 606 | """ |
| 607 | Link a python function to a UA method in the address space; required when a UA method has been imported |
| 608 | to the address space via XML; the python executable must be linked manually |
| 609 | Args: |
| 610 | node: UA method node |
| 611 | callback: python function that the UA method will call |
| 612 | |
| 613 | Returns: |
| 614 | """ |
| 615 | self.iserver.isession.add_method_callback(node.nodeid, callback) |
| 616 | |
| 617 | def load_type_definitions(self, nodes=None): |
| 618 | """ |
no test coverage detected