Classes | |
class | SubHandler |
Functions | |
def | embed () |
Variables | |
client = Client("opc.tcp://localhost:4840/freeopcua/server/") | |
handle = sub.subscribe_events(obj, myevent) | |
msclt = SubHandler() | |
myevent = root.get_child(["0:Types", "0:EventTypes", "0:BaseEventType", "2:MyFirstEvent"]) | |
obj = root.get_child(["0:Objects", "2:MyObject"]) | |
root = client.get_root_node() | |
sub = client.create_subscription(100, msclt) | |
def client-events.embed | ( | ) |
Definition at line 9 of file client-events.py.
client-events.client = Client("opc.tcp://localhost:4840/freeopcua/server/") |
Definition at line 33 of file client-events.py.
Definition at line 51 of file client-events.py.
client-events.msclt = SubHandler() |
Definition at line 49 of file client-events.py.
client-events.myevent = root.get_child(["0:Types", "0:EventTypes", "0:BaseEventType", "2:MyFirstEvent"]) |
Definition at line 46 of file client-events.py.
client-events.obj = root.get_child(["0:Objects", "2:MyObject"]) |
Definition at line 43 of file client-events.py.
client-events.root = client.get_root_node() |
Definition at line 39 of file client-events.py.
Definition at line 50 of file client-events.py.