#include <source/ariba/utility/bootstrap/BootstrapManager.h>
Inherits ariba::utility::BootstrapInformationCallback.
Definition at line 64 of file BootstrapManager.h.
typedef vector<BootstrapInformationCallback*> ariba::utility::BootstrapManager::Callbacks [private] |
Definition at line 109 of file BootstrapManager.h.
typedef map<BootstrapType, BootstrapModule*> ariba::utility::BootstrapManager::ModuleMap [private] |
Definition at line 105 of file BootstrapManager.h.
Definition at line 74 of file BootstrapManager.h.
Definition at line 80 of file BootstrapManager.h.
ariba::utility::BootstrapManager::BootstrapManager | ( | ) | [private] |
Definition at line 50 of file BootstrapManager.cpp.
ariba::utility::BootstrapManager::~BootstrapManager | ( | ) | [private] |
Definition at line 53 of file BootstrapManager.cpp.
static BootstrapManager& ariba::utility::BootstrapManager::instance | ( | ) | [inline, static] |
Definition at line 69 of file BootstrapManager.h.
bool ariba::utility::BootstrapManager::isModuleRegistered | ( | BootstrapType | type | ) |
void ariba::utility::BootstrapManager::onBootstrapServiceFound | ( | string | name, | |
string | info1, | |||
string | info2, | |||
string | info3 | |||
) | [protected, virtual] |
Implements ariba::utility::BootstrapInformationCallback.
Definition at line 167 of file BootstrapManager.cpp.
References callbacks, and ariba::utility::BootstrapInformationCallback::onBootstrapServiceFound().
void ariba::utility::BootstrapManager::publish | ( | string | name, | |
string | info1, | |||
string | info2, | |||
string | info3 | |||
) |
Definition at line 186 of file BootstrapManager.cpp.
References logging_info, modules, and modulesMutex.
Referenced by ariba::overlay::OverlayBootstrap::publish().
BootstrapManager::RegistrationResult ariba::utility::BootstrapManager::registerAllModules | ( | ) |
Definition at line 124 of file BootstrapManager.cpp.
References BootstrapTypeBluetoothSdp, BootstrapTypeMulticastDns, BootstrapTypePeriodicBroadcast, registerModule(), and RegistrationSucceeded.
void ariba::utility::BootstrapManager::registerCallback | ( | BootstrapInformationCallback * | _callback | ) |
Definition at line 174 of file BootstrapManager.cpp.
References callbacks.
Referenced by ariba::overlay::OverlayBootstrap::start().
BootstrapManager::RegistrationResult ariba::utility::BootstrapManager::registerModule | ( | BootstrapManager::BootstrapType | type | ) |
Definition at line 56 of file BootstrapManager.cpp.
References BootstrapTypeBluetoothSdp, BootstrapTypeMulticastDns, BootstrapTypePeriodicBroadcast, ariba::utility::BootstrapModule::getName(), ariba::utility::BootstrapModule::isFunctional(), logging_debug, logging_error, modules, modulesMutex, RegistrationFailed, RegistrationNotSupported, RegistrationSucceeded, and ariba::utility::BootstrapModule::start().
Referenced by registerAllModules(), and ariba::overlay::OverlayBootstrap::start().
void ariba::utility::BootstrapManager::revoke | ( | string | name | ) |
Definition at line 199 of file BootstrapManager.cpp.
References logging_info, modules, and modulesMutex.
Referenced by ariba::overlay::OverlayBootstrap::revoke().
BootstrapManager::RegistrationResult ariba::utility::BootstrapManager::unregisterAllModules | ( | ) |
Definition at line 158 of file BootstrapManager.cpp.
References BootstrapTypeBluetoothSdp, BootstrapTypeMulticastDns, BootstrapTypePeriodicBroadcast, RegistrationSucceeded, and unregisterModule().
void ariba::utility::BootstrapManager::unregisterCallback | ( | BootstrapInformationCallback * | _callback | ) |
Definition at line 180 of file BootstrapManager.cpp.
References callbacks.
Referenced by ariba::overlay::OverlayBootstrap::stop().
BootstrapManager::RegistrationResult ariba::utility::BootstrapManager::unregisterModule | ( | BootstrapManager::BootstrapType | type | ) |
Definition at line 106 of file BootstrapManager.cpp.
References ariba::utility::BootstrapModule::getName(), logging_debug, modules, modulesMutex, RegistrationFailed, RegistrationSucceeded, and ariba::utility::BootstrapModule::stop().
Referenced by ariba::overlay::OverlayBootstrap::stop(), and unregisterAllModules().
ariba::utility::BootstrapManager::use_logging_h | ( | BootstrapManager | ) | [private] |
friend class BootstrapModule [friend] |
Definition at line 66 of file BootstrapManager.h.
Definition at line 110 of file BootstrapManager.h.
Referenced by onBootstrapServiceFound(), registerCallback(), and unregisterCallback().
Definition at line 106 of file BootstrapManager.h.
Referenced by isModuleRegistered(), publish(), registerModule(), revoke(), and unregisterModule().
boost::mutex ariba::utility::BootstrapManager::modulesMutex [private] |
Definition at line 107 of file BootstrapManager.h.
Referenced by isModuleRegistered(), publish(), registerModule(), revoke(), and unregisterModule().