Functions | |
def | embed |
Variables | |
int | count = 0 |
tuple | custom_etype = server.nodes.base_event_type.add_object_type(2, 'MySecondEvent') |
tuple | etype = server.create_custom_event_type(2, 'MyFirstEvent', ua.ObjectIds.BaseEventType, [('MyNumericProperty', ua.VariantType.Float), ('MyStringProperty', ua.VariantType.String)]) |
tuple | idx = server.register_namespace(uri) |
tuple | logger = logging.getLogger("opcua.server.internal_subscription") |
tuple | myevgen = server.get_event_generator(etype, myobj) |
tuple | myobj = objects.add_object(idx, "MyObject") |
tuple | mysecondevgen = server.get_event_generator(custom_etype, myobj) |
tuple | objects = server.get_objects_node() |
tuple | server = Server() |
string | uri = "http://examples.freeopcua.github.io" |
def server-events.embed | ( | ) |
Definition at line 9 of file server-events.py.
int server-events::count = 0 |
Definition at line 56 of file server-events.py.
tuple server-events::custom_etype = server.nodes.base_event_type.add_object_type(2, 'MySecondEvent') |
Definition at line 44 of file server-events.py.
tuple server-events::etype = server.create_custom_event_type(2, 'MyFirstEvent', ua.ObjectIds.BaseEventType, [('MyNumericProperty', ua.VariantType.Float), ('MyStringProperty', ua.VariantType.String)]) |
Definition at line 39 of file server-events.py.
Definition at line 29 of file server-events.py.
tuple server-events::logger = logging.getLogger("opcua.server.internal_subscription") |
Definition at line 20 of file server-events.py.
Definition at line 41 of file server-events.py.
Definition at line 35 of file server-events.py.
tuple server-events::mysecondevgen = server.get_event_generator(custom_etype, myobj) |
Definition at line 48 of file server-events.py.
tuple server-events::objects = server.get_objects_node() |
Definition at line 32 of file server-events.py.
tuple server-events::server = Server() |
Definition at line 24 of file server-events.py.
string server-events::uri = "http://examples.freeopcua.github.io" |
Definition at line 28 of file server-events.py.