Classes | Functions | Variables
client-events Namespace Reference

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)
 

Function Documentation

def client-events.embed ( )

Definition at line 9 of file client-events.py.

Variable Documentation

client-events.client = Client("opc.tcp://localhost:4840/freeopcua/server/")

Definition at line 33 of file client-events.py.

client-events.handle = sub.subscribe_events(obj, myevent)

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.

client-events.sub = client.create_subscription(100, msclt)

Definition at line 50 of file client-events.py.



ros_opcua_impl_python_opcua
Author(s): Denis Štogl , Daniel Draper
autogenerated on Tue Jan 19 2021 03:12:44