commore
1.0.6-SNAPSHOT
|
#include <ServiceManager.h>
Public Member Functions | |
Impl () | |
~Impl () | |
long | publish (const PService &service) |
long | unpublish (const PService &service) |
bool | add_listener (const AChar *spec) |
bool | remove_listener (const AChar *spec) |
bool | add_listener (const PListener &spec) |
bool | remove_listener (const PListener &spec) |
int | call (const Tuple &inReq, Tuple &outReq) |
ListAString & | get_addresses (ListAString &addresses) |
Impl (const Impl &) | |
Impl & | operator= (const Impl &) |
PService | getMyService (const char *className, const char *name) |
![]() | |
RefObject () | |
virtual | ~RefObject () |
virtual void | attach () |
virtual void | release () |
virtual void | nested_attach () |
virtual void | nested_release () |
virtual void | interface_release () |
virtual void | Run () |
virtual CriticalSection * | get_cs () |
![]() | |
Callback () | |
virtual | ~Callback () |
void | detach () |
Static Public Member Functions | |
static List < PServiceManager::Impl * > & | service_manager_list_ () |
![]() | |
static AutoRefBase | auto_create () |
static AutoRefBase | auto_create (const AChar *s) |
static AutoRefBase | create () |
static AutoRefBase | create (const AChar *s) |
static AutoRefBase | bind () |
static AutoRefBase | bind (const AChar *s) |
static const AChar * | factory_name () |
Public Attributes | |
CriticalSection | service_list_cs_ |
List< PService > | service_list_ |
List< PListener > | listener_list_ |
Friends | |
class | ServiceManager |
Service manager implementation
PServiceManager::Impl::Impl | ( | ) |
PServiceManager::Impl::~Impl | ( | ) |
commore::PServiceManager::Impl::Impl | ( | const Impl & | ) |
bool PServiceManager::Impl::add_listener | ( | const AChar * | spec | ) |
bool PServiceManager::Impl::add_listener | ( | const PListener & | spec | ) |
Listener callback implementation
Implements commore::Listener::Callback.
ListAString & PServiceManager::Impl::get_addresses | ( | ListAString & | addresses | ) |
PService PServiceManager::Impl::getMyService | ( | const char * | className, |
const char * | name | ||
) |
long PServiceManager::Impl::publish | ( | const PService & | service | ) |
bool PServiceManager::Impl::remove_listener | ( | const AChar * | spec | ) |
bool PServiceManager::Impl::remove_listener | ( | const PListener & | spec | ) |
|
static |
The list of all ServiceManager's
long PServiceManager::Impl::unpublish | ( | const PService & | service | ) |
|
friend |
CriticalSection commore::PServiceManager::Impl::service_list_cs_ |