aio.ProxyObject

class dbus_next.aio.ProxyObject(bus_name: str, path: str, introspection: Union[dbus_next.introspection.Node, str, xml.etree.ElementTree.Element], bus: dbus_next.message_bus.BaseMessageBus)

Bases: dbus_next.proxy_object.BaseProxyObject

The proxy object implementation for the GLib MessageBus.

For more information, see the BaseProxyObject.

get_children()List[dbus_next.aio.proxy_object.ProxyObject]

Get the child nodes of this proxy object according to the introspection data.

get_interface(name: str)dbus_next.aio.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