glib.ProxyObject¶
- class dbus_fast.glib.ProxyObject(bus_name: str, path: str, introspection: Union[dbus_fast.introspection.Node, str, xml.etree.ElementTree.Element], bus: dbus_fast.message_bus.BaseMessageBus)¶
Bases:
dbus_fast.proxy_object.BaseProxyObject
The proxy object implementation for the asyncio
MessageBus
.For more information, see the
BaseProxyObject
.- get_children() List[dbus_fast.glib.proxy_object.ProxyObject] ¶
Get the child nodes of this proxy object according to the introspection data.
- get_interface(name: str) dbus_fast.glib.proxy_object.ProxyInterface ¶
Get an interface exported on this proxy object and connect it to the bus.
- Parameters
name (str) – The name of the interface to retrieve.
- Raises
InterfaceNotFoundError
- If there is no interface by this name exported on the bus.