Classes | |
class | SubHandler |
Variables | |
client = opcua.Client(False) | |
evhandle = sub.subscribe_events() | |
idx = client.get_namespace_index(uri) | |
myvar = objects.get_child(["{}:NewObject".format(idx), "MyVariable"]) | |
objects = client.get_objects_node() | |
root = client.get_root_node() | |
sclt = SubHandler() | |
statenode = client.get_node(opcua.ObjectId.Server_ServerStatus_State) | |
sub = client.create_subscription(100, sclt) | |
string | uri = "http://examples.freeopcua.github.io" |
event_client.client = opcua.Client(False) |
Definition at line 27 of file event_client.py.
event_client.evhandle = sub.subscribe_events() |
Definition at line 64 of file event_client.py.
event_client.idx = client.get_namespace_index(uri) |
Definition at line 34 of file event_client.py.
event_client.myvar = objects.get_child(["{}:NewObject".format(idx), "MyVariable"]) |
Definition at line 52 of file event_client.py.
event_client.objects = client.get_objects_node() |
Definition at line 48 of file event_client.py.
event_client.root = client.get_root_node() |
Definition at line 41 of file event_client.py.
event_client.sclt = SubHandler() |
Definition at line 56 of file event_client.py.
event_client.statenode = client.get_node(opcua.ObjectId.Server_ServerStatus_State) |
Definition at line 37 of file event_client.py.
event_client.sub = client.create_subscription(100, sclt) |
Definition at line 57 of file event_client.py.
string event_client.uri = "http://examples.freeopcua.github.io" |
Definition at line 33 of file event_client.py.