DBusRemoteObjectManager class

An object to simplify access to a D-Bus object manager.

Inheritance

Constructors

DBusRemoteObjectManager(DBusClient client, {required String name, required DBusObjectPath path})
Creates an object that access accesses a remote D-Bus object manager using bus name with path. Requires the remote object to implement the org.freedesktop.DBus.ObjectManager interface.

Properties

client DBusClient
The client this object is accessed from.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the client providing this object.
finalinherited
path DBusObjectPath
The path to the object.
finalinherited
propertiesChanged Stream<DBusPropertiesChangedSignal>
Stream of signals when the remote object indicates a property has changed.
latefinalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signals Stream<DBusSignal>
Signals received from objects controlled by this object manager. The manager object will send DBusObjectManagerInterfacesAddedSignal and DBusObjectManagerInterfacesRemovedSignal to indicate when objects are added, removed or have interfaces modified. The stream will contain DBusPropertiesChangedSignal and DBusSignal for all other signals on these objects.
latefinal

Methods

callMethod(String? interface, String name, Iterable<DBusValue> values, {DBusSignature? replySignature, bool noReplyExpected = false, bool noAutoStart = false, bool allowInteractiveAuthorization = false}) Future<DBusMethodSuccessResponse>
Invokes a method on this object. Throws DBusMethodResponseException if the remote side returns an error.
inherited
getAllProperties(String interface) Future<Map<String, DBusValue>>
Gets the values of all the properties on this object.
inherited
getManagedObjects() Future<Map<DBusObjectPath, Map<String, Map<String, DBusValue>>>>
Gets all the sub-tree of objects, interfaces and properties of this object. Requires the remote object to implement the org.freedesktop.DBus.ObjectManager interface.
getProperty(String interface, String name, {DBusSignature? signature}) Future<DBusValue>
Gets a property on this object.
inherited
introspect() Future<DBusIntrospectNode>
Gets the introspection data for this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setProperty(String interface, String name, DBusValue value) Future<void>
Sets a property on this object.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited