Allow & encourage early ObjectServer setup
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:
- We can get rid of the explicit
ObjectServer::start_dispatch
. - User won't need to care about the order of interface setup and name registration.
- For simple (static interfaces) cases, the API becomes simpler.
Edited by Zeeshan Ali Khan