commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::PServiceManager::Impl Struct Reference

#include <ServiceManager.h>

+ Inheritance diagram for commore::PServiceManager::Impl:

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)
 
ListAStringget_addresses (ListAString &addresses)
 
 Impl (const Impl &)
 
Imploperator= (const Impl &)
 
PService getMyService (const char *className, const char *name)
 
- Public Member Functions inherited from commore::RefObject
 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 CriticalSectionget_cs ()
 
- Public Member Functions inherited from commore::Listener::Callback
 Callback ()
 
virtual ~Callback ()
 
void detach ()
 

Static Public Member Functions

static List
< PServiceManager::Impl * > & 
service_manager_list_ ()
 
- Static Public Member Functions inherited from commore::RefObject
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 ACharfactory_name ()
 

Public Attributes

CriticalSection service_list_cs_
 
List< PServiceservice_list_
 
List< PListenerlistener_list_
 

Friends

class ServiceManager
 

Detailed Description

Service manager implementation

Constructor & Destructor Documentation

PServiceManager::Impl::Impl ( )
PServiceManager::Impl::~Impl ( )
commore::PServiceManager::Impl::Impl ( const Impl )

Member Function Documentation

bool PServiceManager::Impl::add_listener ( const AChar spec)
bool PServiceManager::Impl::add_listener ( const PListener spec)
int PServiceManager::Impl::call ( const Tuple inReq,
Tuple outReq 
)
virtual

Listener callback implementation

Note
this method is call by listener callback

Implements commore::Listener::Callback.

ListAString & PServiceManager::Impl::get_addresses ( ListAString addresses)
PService PServiceManager::Impl::getMyService ( const char *  className,
const char *  name 
)
Impl& commore::PServiceManager::Impl::operator= ( const Impl )
long PServiceManager::Impl::publish ( const PService service)
bool PServiceManager::Impl::remove_listener ( const AChar spec)
bool PServiceManager::Impl::remove_listener ( const PListener spec)
List< PServiceManager::Impl * > & PServiceManager::Impl::service_manager_list_ ( )
static

The list of all ServiceManager's

long PServiceManager::Impl::unpublish ( const PService service)

Friends And Related Function Documentation

friend class ServiceManager
friend

Member Data Documentation

List<PListener> commore::PServiceManager::Impl::listener_list_
List<PService> commore::PServiceManager::Impl::service_list_
CriticalSection commore::PServiceManager::Impl::service_list_cs_

The documentation for this struct was generated from the following files: