diff --git a/Boss/Mod/all.cpp b/Boss/Mod/all.cpp index 3986efe..03e5c23 100644 --- a/Boss/Mod/all.cpp +++ b/Boss/Mod/all.cpp @@ -56,7 +56,7 @@ std::shared_ptr all( std::ostream& cout ) { auto all = std::make_shared(); - /* The waiter is shared among most of the other modules. */ + /* Basic. */ auto waiter = all->install(bus); auto imon = all->install( bus , threadpool @@ -64,30 +64,39 @@ std::shared_ptr all( std::ostream& cout ); all->install(cout, bus); all->install(bus); + + /* Startup. */ all->install(bus); all->install(bus, threadpool, std::move(open_rpc_socket)); + + /* Regular timers. */ all->install(bus); all->install(bus, *waiter); + + /* Connection wrangling. */ all->install(bus); all->install(bus); all->install(bus); all->install(bus); all->install(bus); - all->install(bus); + all->install(bus); + all->install(bus); + + /* Status monitors. */ all->install(bus); all->install(bus); all->install(bus); - all->install(bus); - all->install(bus, *waiter); all->install(bus, *waiter); + all->install(bus); + all->install(bus); + + /* Channel creation wrangling. */ + all->install(bus, *waiter); all->install(bus); auto investigator = all->install< ChannelCandidateInvestigator::Main >(bus, *imon); all->install(bus); all->install(bus, *investigator); - all->install(bus); - - all->install(bus); return all; }