#include <DictionaryService.h>

Public Types | |
| typedef ProtocolTraits | protocol_traits |
| typedef ProtocolTraits::map_type | map_type |
| typedef ProtocolTraits::index_scheme | index_scheme |
| typedef registry::service_type_list::const_iterator | service_type_iterator |
Public Member Functions | |
| WISP_IMPORT_T (protocol_traits, packing_traits) | |
| WISP_IMPORT_T (protocol_traits, map_type) | |
| WISP_IMPORT_T (protocol_traits, index_scheme) | |
| WISP_IMPORT_T (protocol_traits, MessageInsert) | |
| WISP_IMPORT_T (protocol_traits, MessageErase) | |
| WISP_IMPORT_T (protocol_traits, MessageQueryResult) | |
| WISP_IMPORT_T (protocol_traits, MessageQueryAll) | |
| WISP_IMPORT_T (protocol_traits, MessageQueryByDefault) | |
| WISP_IMPORT_T (protocol_traits, MessageSingleQueryResult) | |
| WISP_IMPORT_T (protocol_traits, MessageSingleQueryByDefault) | |
| WISP_IMPORT_T (protocol_traits, CallQueryResult) | |
| WISP_IMPORT_T (protocol_traits, CallSingleQueryResult) | |
| DictionaryService (typename super::caller_type &caller) | |
| virtual | ~DictionaryService () |
| bool | empty () const |
| map_type::template nth_index < scheme >::type::size_type | size () const |
| map_type::template nth_index_iterator< scheme > ::type | begin () |
| map_type::template nth_index_const_iterator < scheme >::type | begin () const |
| map_type::template nth_index_iterator< scheme > ::type | end () |
| map_type::template nth_index_const_iterator < scheme >::type | end () const |
| std::pair< typename map_type::template nth_index_iterator< scheme > ::type, bool > | insert (const typename map_type::template nth_index< scheme >::type::value_type &value) |
| map_type::template nth_index < scheme >::type::size_type | erase (const typename map_type::template nth_index< scheme >::type::key_type &key) |
| bool | replace (typename map_type::template nth_index_iterator< scheme >::type position, const typename map_type::template nth_index< scheme >::type::value_type &value) |
| map_type::template nth_index_iterator< scheme > ::type | find (const CompatibleKey &key) const |
| std::pair< typename map_type::template nth_index_iterator< scheme > ::type, typename map_type::template nth_index_iterator< scheme > ::type > | equal_range (const CompatibleKey &key) const |
| map_type::template nth_index < scheme >::type::size_type | count (const CompatibleKey &key) const |
| void | add_service_type (const string &service_type) |
| service_type_iterator | service_types_begin () |
| service_type_iterator | service_types_end () |
| void | start () |
| void | stop () |
| void | membership (const MessageInfo &msginfo, const MembershipInfo &meminfo) |
Static Public Attributes | |
| static const bool | GroupMembership |
Protected Member Functions | |
| virtual void | process_request (const MessageInsert &msg, const MessageInfo &) |
| void | process_request (const MessageErase &msg, const MessageInfo &) |
| void | process_request (const MessageSingleQueryByDefault &msg, const MessageInfo &msginfo) |
| void | process_request (const MessageQueryByDefault &msg, const MessageInfo &msginfo) |
| void | process_request (const MessageQueryAll &msg, const MessageInfo &msginfo) |
| void | process_query (const QueryType &msg, const MessageInfo &msginfo) |
| void | process_single_query (const SingleQueryType &msg, const MessageInfo &msginfo) |
| map_type::template nth_index < scheme >::type & | get_index () |
| const map_type::template nth_index< scheme >::type & | get_index () const |
| virtual void | transition (typename super::State state) |
| virtual void | transition (State state) |
| WISP_IMPORT (ServiceProtocol, MessageStop) | |
| WISP_IMPORT (ServiceProtocol, MessageEchoRequest) | |
| WISP_IMPORT (ServiceProtocol, MessageReregister) | |
| WISP_IMPORT (ServiceProtocol, MessageStatusRequest) | |
| WISP_IMPORT (ServiceProtocol, CallStop) | |
| WISP_IMPORT (ServiceProtocol, CallEchoReply) | |
| WISP_IMPORT (ServiceProtocol, CallStatusReply) | |
| virtual void | process_request (const MessageStop &msg, const MessageInfo &) |
| virtual void | process_request (const MessageEchoRequest &msg, const MessageInfo &msginfo) |
| virtual void | process_request (const MessageReregister &msg, const MessageInfo &) |
| void | process_request (const MessageStatusRequest &msg, const MessageInfo &msginfo) |
| virtual properties_ptr | get_status () |
Protected Attributes | |
| map_type | _index |
Friends | |
| class | NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > |
| class | NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< typename super::packing_traits > |
Detailed Description
template<typename ProtocolTraits, bool group_membership = GroupMembershipDisable>
class index::DictionaryService< ProtocolTraits, group_membership >
Definition at line 34 of file DictionaryService.h.
Member Typedef Documentation
typedef ProtocolTraits::index_scheme index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::index_scheme [inherited] |
Definition at line 50 of file IndexService.h.
typedef ProtocolTraits::map_type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::map_type [inherited] |
Definition at line 49 of file IndexService.h.
| typedef ProtocolTraits index::DictionaryService< ProtocolTraits, group_membership >::protocol_traits |
Definition at line 40 of file DictionaryService.h.
typedef registry::service_type_list::const_iterator service::ServiceProtocolProcessor::service_type_iterator [inherited] |
Definition at line 109 of file service/service.h.
Constructor & Destructor Documentation
| index::DictionaryService< ProtocolTraits, group_membership >::DictionaryService | ( | typename super::caller_type & | caller | ) | [inline, explicit] |
Definition at line 107 of file DictionaryService.h.
| virtual index::DictionaryService< ProtocolTraits, group_membership >::~DictionaryService | ( | ) | [inline, virtual] |
Definition at line 117 of file DictionaryService.h.
Member Function Documentation
| void service::ServiceProtocolProcessor::add_service_type | ( | const string & | service_type | ) | [inline, inherited] |
Definition at line 124 of file service/service.h.
| map_type::template nth_index_iterator<scheme>::type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::begin | ( | ) | [inline, inherited] |
Definition at line 143 of file IndexService.h.
| map_type::template nth_index_const_iterator<scheme>::type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::begin | ( | ) | const [inline, inherited] |
Definition at line 152 of file IndexService.h.
| map_type::template nth_index<scheme>::type::size_type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::count | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 225 of file IndexService.h.
| bool index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::empty | ( | ) | const [inline, inherited] |
Definition at line 125 of file IndexService.h.
| map_type::template nth_index_iterator<scheme>::type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::end | ( | ) | [inline, inherited] |
Definition at line 161 of file IndexService.h.
| map_type::template nth_index_const_iterator<scheme>::type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::end | ( | ) | const [inline, inherited] |
Definition at line 170 of file IndexService.h.
| std::pair<typename map_type::template nth_index_iterator<scheme>::type, typename map_type::template nth_index_iterator<scheme>::type> index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::equal_range | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 216 of file IndexService.h.
| map_type::template nth_index<scheme>::type::size_type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::erase | ( | const typename map_type::template nth_index< scheme >::type::key_type & | key | ) | [inline, inherited] |
Definition at line 189 of file IndexService.h.
| map_type::template nth_index_iterator<scheme>::type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::find | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 206 of file IndexService.h.
| map_type::template nth_index<scheme>::type& index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::get_index | ( | ) | [inline, protected, inherited] |
Definition at line 94 of file IndexService.h.
| const map_type::template nth_index<scheme>::type& index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::get_index | ( | ) | const [inline, protected, inherited] |
Definition at line 100 of file IndexService.h.
| properties_ptr service::ServiceProtocolProcessor::get_status | ( | ) | [protected, virtual, inherited] |
Definition at line 39 of file service/service.cc.
References utility::get_memusage().
| std::pair<typename map_type::template nth_index_iterator<scheme>::type, bool> index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::insert | ( | const typename map_type::template nth_index< scheme >::type::value_type & | value | ) | [inline, inherited] |
Definition at line 179 of file IndexService.h.
| void service::ServiceProtocolProcessor::membership | ( | const MessageInfo & | msginfo, |
| const MembershipInfo & | meminfo | ||
| ) | [inline, inherited] |
Definition at line 148 of file service/service.h.
| void index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::process_query | ( | const QueryType & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 57 of file IndexService.h.
| virtual void index::DictionaryService< ProtocolTraits, group_membership >::process_request | ( | const MessageInsert & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected, virtual] |
Definition at line 63 of file DictionaryService.h.
References index::IndexService< MapType, IndexScheme, group_membership >::size().
| void index::DictionaryService< ProtocolTraits, group_membership >::process_request | ( | const MessageErase & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected] |
Definition at line 78 of file DictionaryService.h.
| virtual void service::ServiceProtocolProcessor::process_request | ( | const MessageStop & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 79 of file service/service.h.
| virtual void service::ServiceProtocolProcessor::process_request | ( | const MessageEchoRequest & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, virtual, inherited] |
Definition at line 83 of file service/service.h.
| void index::DictionaryService< ProtocolTraits, group_membership >::process_request | ( | const MessageSingleQueryByDefault & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected] |
Definition at line 85 of file DictionaryService.h.
| void index::DictionaryService< ProtocolTraits, group_membership >::process_request | ( | const MessageQueryByDefault & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected] |
Definition at line 91 of file DictionaryService.h.
| virtual void service::ServiceProtocolProcessor::process_request | ( | const MessageReregister & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected, virtual, inherited] |
Definition at line 91 of file service/service.h.
| void index::DictionaryService< ProtocolTraits, group_membership >::process_request | ( | const MessageQueryAll & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected] |
Definition at line 98 of file DictionaryService.h.
| void service::ServiceProtocolProcessor::process_request | ( | const MessageStatusRequest & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [protected, inherited] |
Definition at line 111 of file service/service.cc.
| void index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::process_single_query | ( | const SingleQueryType & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 78 of file IndexService.h.
| bool index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::replace | ( | typename map_type::template nth_index_iterator< scheme >::type | position, |
| const typename map_type::template nth_index< scheme >::type::value_type & | value | ||
| ) | [inline, inherited] |
Definition at line 195 of file IndexService.h.
| service_type_iterator service::ServiceProtocolProcessor::service_types_begin | ( | ) | [inline, inherited] |
Definition at line 128 of file service/service.h.
| service_type_iterator service::ServiceProtocolProcessor::service_types_end | ( | ) | [inline, inherited] |
Definition at line 132 of file service/service.h.
| map_type::template nth_index<scheme>::type::size_type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::size | ( | ) | const [inline, inherited] |
Definition at line 134 of file IndexService.h.
| void service::ServiceProtocolProcessor::start | ( | ) | [inline, inherited] |
Definition at line 136 of file service/service.h.
| void service::ServiceProtocolProcessor::stop | ( | ) | [inline, inherited] |
Definition at line 143 of file service/service.h.
| virtual void service::ServiceProtocolProcessor::transition | ( | State | state | ) | [inline, protected, virtual, inherited] |
Definition at line 102 of file service/service.h.
References registry::service_group_registry().
| virtual void index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::transition | ( | typename super::State | state | ) | [inline, protected, virtual, inherited] |
Definition at line 104 of file IndexService.h.
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| MessageStop | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| MessageEchoRequest | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| MessageReregister | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| MessageStatusRequest | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| CallStop | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| CallEchoReply | |||
| ) | [protected, inherited] |
| service::ServiceProtocolProcessor::WISP_IMPORT | ( | ServiceProtocol | , |
| CallStatusReply | |||
| ) | [protected, inherited] |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| packing_traits | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| map_type | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| index_scheme | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageInsert | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageErase | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryResult | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryAll | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryByDefault | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageSingleQueryResult | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageSingleQueryByDefault | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| CallQueryResult | |||
| ) |
| index::DictionaryService< ProtocolTraits, group_membership >::WISP_IMPORT_T | ( | protocol_traits | , |
| CallSingleQueryResult | |||
| ) |
Friends And Related Function Documentation
friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend] |
Reimplemented from service::ServiceProtocolProcessor.
Definition at line 58 of file DictionaryService.h.
friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< typename super::packing_traits > [friend, inherited] |
Definition at line 44 of file IndexService.h.
Member Data Documentation
map_type index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::_index [protected, inherited] |
Definition at line 54 of file IndexService.h.
const bool index::IndexService< ProtocolTraits::map_type , ProtocolTraits::index_scheme , group_membership >::GroupMembership [static, inherited] |
Definition at line 47 of file IndexService.h.
The documentation for this class was generated from the following file: