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

Method add_method_callback

opcua/server/address_space.py:708–711  ·  view source on GitHub ↗
(self, methodid, callback)

Source from the content-addressed store, hash-verified

706 self._nodes[nodeid].attributes[attr].datachange_callbacks.pop(handle)
707
708 def add_method_callback(self, methodid, callback):
709 with self._lock:
710 node = self._nodes[methodid]
711 node.call = callback

Callers 2

link_methodMethod · 0.45
_create_methodFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected