LinkTed / dbus-async-derive

Handler trait derive macro for dbus-async
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Register D-Bus Names #3

Open landersson opened 3 years ago

landersson commented 3 years ago

When running the "methods" example, I can call Method using for example:

dbus-send --session --print-reply --dest=:1.170 /org/example/methods org.example.methods.Method

Where :1.170 happens to be the unique name of the service. The example doesn't seem to register a name for the service.

I'd like to be able to specify a name, to call it using for example:

dbus-send --session --print-reply --dest=org.example.methods /org/example/methods org.example.methods.Method

Is this currently possible?

LinkTed commented 3 years ago

Yes, it is currently supported. See DBus