public:
~TransportMasterManager ();
- int init ();
+ int set_default_configuration ();
static TransportMasterManager& instance();
+ /* this method is not thread-safe and is intended to be used only
+ * very early in application-lifetime to check if the TMM has
+ * been created yet. Do not use in other code.
+ */
static bool exists() { return _instance != 0; }
typedef std::list<boost::shared_ptr<TransportMaster> > TransportMasters;
/* XXX now what? */
}
} else {
- if (TransportMasterManager::instance().init ()) {
+ if (TransportMasterManager::instance().set_default_configuration ()) {
error << _("Cannot initialize transport master manager") << endmsg;
/* XXX now what? */
}