Skip to content

Allow & encourage early ObjectServer setup

Zeeshan Ali Khan requested to merge zeenix/zbus:drop-object-server-start into main

While I wasn't keen on @danieldg's idea to provide ObjectServer in the ConnectionBuilder, it got me thinking that we can instead provide registration of interfaces and names as part of ConnectionBuilder. This gives us at least 3 advantages:

  1. We can get rid of the explicit ObjectServer::start_dispatch.
  2. User won't need to care about the order of interface setup and name registration.
  3. For simple (static interfaces) cases, the API becomes simpler.
Edited by Zeeshan Ali Khan

Merge request reports