DBusAddress class
An address of a D-Bus server.
Constructors
- DBusAddress(String address)
-
Creates a new address from the given
address
string, e.g. 'unix:path=/run/user/1000/bus'.factory - DBusAddress.tcp(String host, {String? bind, int? port, DBusAddressTcpFamily? family})
-
Creates a new D-Bus address connecting to a TCP socket.
factory
- DBusAddress.unix({String? path, Directory? dir, Directory? tmpdir, String? abstract, bool runtime = false})
-
Creates a new D-Bus address connecting to a Unix socket.
factory
-
DBusAddress.withTransport(String transport, Map<
String, String> properties) - Creates a new address using transport and properties
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
↔ Map<
String, String> -
Transport properties, e.g. 'path': '/run/user/1000/bus'.
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transport ↔ String
-
The method of transport, e.g. 'unix', 'tcp'.
latefinal
- value → String
-
Gets this address in string format.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited