Savarese Software Research Corporation
registry::Registry Class Reference

#include <service.h>

Inheritance diagram for registry::Registry:

List of all members.

Public Member Functions

 Registry (super::caller_type &caller)
virtual ~Registry ()
bool is_leader ()
string leader_name ()
void service_join (const string &service_name)
void service_leave (const string &service_name)
template<typename InputIterator >
void register_service (const string &service_name, InputIterator service_type, const InputIterator &end_of_range)
template<typename InputIterator >
void reregister_service (const string &service_name, InputIterator service_type, const InputIterator &end_of_range)
template<typename InputIterator >
void unregister_service (const string &service_name, InputIterator service_type, const InputIterator &end_of_range)

Friends

class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits >

Detailed Description

Definition at line 39 of file registry/service.h.


Constructor & Destructor Documentation

registry::Registry::Registry ( super::caller_type &  caller) [inline, explicit]

Definition at line 102 of file registry/service.h.

References protocol::service_type_registry().

virtual registry::Registry::~Registry ( ) [inline, virtual]

Definition at line 115 of file registry/service.h.


Member Function Documentation

bool registry::Registry::is_leader ( ) [inline]

Definition at line 120 of file registry/service.h.

string registry::Registry::leader_name ( ) [inline]

Definition at line 127 of file registry/service.h.

template<typename InputIterator >
void registry::Registry::register_service ( const string &  service_name,
InputIterator  service_type,
const InputIterator &  end_of_range 
) [inline]
template<typename InputIterator >
void registry::Registry::reregister_service ( const string &  service_name,
InputIterator  service_type,
const InputIterator &  end_of_range 
) [inline]

Definition at line 174 of file registry/service.h.

void registry::Registry::service_join ( const string &  service_name) [inline]

Definition at line 134 of file registry/service.h.

References protocol::service_type_unknown().

void registry::Registry::service_leave ( const string &  service_name) [inline]

Definition at line 143 of file registry/service.h.

template<typename InputIterator >
void registry::Registry::unregister_service ( const string &  service_name,
InputIterator  service_type,
const InputIterator &  end_of_range 
) [inline]

Friends And Related Function Documentation

friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend]

Definition at line 43 of file registry/service.h.


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

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.