#include <service.h>

Classes | |
| struct | TouchSession |
Public Types | |
| typedef SessionProtocol | protocol_traits |
| typedef SessionProtocol::map_type | map_type |
| typedef SessionProtocol::index_scheme | index_scheme |
Public Member Functions | |
| WISP_IMPORT (SessionProtocol, MessageSingleQueryResult) | |
| WISP_IMPORT (SessionProtocol, MessageInsert) | |
| WISP_IMPORT (SessionProtocol, MessageCreateSession) | |
| WISP_IMPORT (SessionProtocol, MessageGetSession) | |
| WISP_IMPORT (SessionProtocol, MessageExpireSession) | |
| WISP_IMPORT (SessionProtocol, MessageSetAttributes) | |
| WISP_IMPORT (SessionProtocol, MessageUpdateSession) | |
| WISP_IMPORT (SessionProtocol, MessageLoginSession) | |
| WISP_IMPORT (SessionProtocol, MessageLogoutSession) | |
| WISP_IMPORT (SessionProtocol, CallExpireSession) | |
| string | create_sid () |
| string | create_xsrf_token () |
| std::pair < session_map::iterator, bool > | create_session () |
| void | expire_sessions (const idle_count_type low_count) |
| 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) | |
| 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 |
Public Attributes | |
| virtual Session(super::caller_type &caller, const SessionInitializer &initializer) SSRC_DECL_THROW(std | ~Session () |
Static Public Attributes | |
| static const bool | GroupMembership |
Protected Member Functions | |
| 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) |
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
Definition at line 50 of file session/service.h.
Member Typedef Documentation
typedef SessionProtocol::index_scheme IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::index_scheme [inherited] |
Definition at line 50 of file IndexService.h.
typedef SessionProtocol::map_type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::map_type [inherited] |
Definition at line 49 of file IndexService.h.
typedef SessionProtocol DictionaryService< SessionProtocol , GroupMembershipDisable >::protocol_traits [inherited] |
Definition at line 40 of file DictionaryService.h.
Member Function Documentation
| map_type::template nth_index_iterator<scheme>::type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::begin | ( | ) | [inline, inherited] |
Definition at line 143 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::begin().
| map_type::template nth_index_const_iterator<scheme>::type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::begin | ( | ) | const [inline, inherited] |
Definition at line 152 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::begin().
| map_type::template nth_index<scheme>::type::size_type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::count | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 225 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::count().
Referenced by expire_sessions().
| std::pair<session_map::iterator, bool> Session::create_session | ( | ) | [inline] |
Definition at line 149 of file session/service.h.
References create_sid(), and create_xsrf_token().
Definition at line 231 of file session/service.cc.
References SessionIdNumChars.
Referenced by create_session().
| string Session::create_xsrf_token | ( | ) | [inline] |
Definition at line 142 of file session/service.h.
References SessionIdNumChars.
Referenced by create_session().
| bool IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::empty | ( | ) | const [inline, inherited] |
Definition at line 125 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::empty().
| map_type::template nth_index_iterator<scheme>::type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::end | ( | ) | [inline, inherited] |
Definition at line 161 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::end().
| map_type::template nth_index_const_iterator<scheme>::type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::end | ( | ) | const [inline, inherited] |
Definition at line 170 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::end().
| std::pair<typename map_type::template nth_index_iterator<scheme>::type, typename map_type::template nth_index_iterator<scheme>::type> IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::equal_range | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 216 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::equal_range().
| map_type::template nth_index<scheme>::type::size_type IndexService< SessionProtocol::map_type , SessionProtocol::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.
References IndexService< MapType, IndexScheme, group_membership >::erase().
| void Session::expire_sessions | ( | const idle_count_type | low_count | ) |
Definition at line 206 of file session/service.cc.
References IndexService< SessionProtocol::map_type, SessionProtocol::index_scheme, GroupMembershipDisable >::count(), and SessionProtocol::event_group_expire().
| map_type::template nth_index_iterator<scheme>::type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::find | ( | const CompatibleKey & | key | ) | const [inline, inherited] |
Definition at line 206 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::find().
| map_type::template nth_index<scheme>::type& IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::get_index | ( | ) | [inline, protected, inherited] |
Definition at line 94 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::_index.
| const map_type::template nth_index<scheme>::type& IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::get_index | ( | ) | const [inline, protected, inherited] |
Definition at line 100 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::_index.
| std::pair<typename map_type::template nth_index_iterator<scheme>::type, bool> IndexService< SessionProtocol::map_type , SessionProtocol::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.
References IndexService< MapType, IndexScheme, group_membership >::insert().
| void IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::process_query | ( | const QueryType & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 57 of file IndexService.h.
| void DictionaryService< SessionProtocol , GroupMembershipDisable >::process_request | ( | const MessageErase & | msg, |
| const MessageInfo & | |||
| ) | [inline, protected, inherited] |
Definition at line 78 of file DictionaryService.h.
| void DictionaryService< SessionProtocol , GroupMembershipDisable >::process_request | ( | const MessageSingleQueryByDefault & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 85 of file DictionaryService.h.
| void DictionaryService< SessionProtocol , GroupMembershipDisable >::process_request | ( | const MessageQueryByDefault & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 91 of file DictionaryService.h.
| void DictionaryService< SessionProtocol , GroupMembershipDisable >::process_request | ( | const MessageQueryAll & | msg, |
| const MessageInfo & | msginfo | ||
| ) | [inline, protected, inherited] |
Definition at line 98 of file DictionaryService.h.
References IndexService< MapType, IndexScheme, group_membership >::_index.
| void IndexService< SessionProtocol::map_type , SessionProtocol::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 IndexService< SessionProtocol::map_type , SessionProtocol::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.
References IndexService< MapType, IndexScheme, group_membership >::replace().
| map_type::template nth_index<scheme>::type::size_type IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::size | ( | ) | const [inline, inherited] |
Definition at line 134 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::size().
| virtual void IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::transition | ( | typename super::State | state | ) | [inline, protected, virtual, inherited] |
Definition at line 104 of file IndexService.h.
References IndexService< MapType, IndexScheme, group_membership >::_index, and IndexService< MapType, IndexScheme, group_membership >::transition().
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageSingleQueryResult | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageInsert | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageCreateSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageGetSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageExpireSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageSetAttributes | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageUpdateSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageLoginSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| MessageLogoutSession | |||
| ) |
| Session::WISP_IMPORT | ( | SessionProtocol | , |
| CallExpireSession | |||
| ) |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| packing_traits | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| map_type | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| index_scheme | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageInsert | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageErase | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryResult | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryAll | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageQueryByDefault | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageSingleQueryResult | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| MessageSingleQueryByDefault | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| CallQueryResult | |||
| ) | [inherited] |
| DictionaryService< SessionProtocol , GroupMembershipDisable >::WISP_IMPORT_T | ( | protocol_traits | , |
| CallSingleQueryResult | |||
| ) | [inherited] |
Friends And Related Function Documentation
friend class NS_SSRC_WISP_SERVICE::ServiceProtocolProcessor< packing_traits > [friend] |
Reimplemented from DictionaryService< SessionProtocol >.
Definition at line 75 of file session/service.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 IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::_index [protected, inherited] |
Definition at line 54 of file IndexService.h.
const bool IndexService< SessionProtocol::map_type , SessionProtocol::index_scheme , group_membership >::GroupMembership [static, inherited] |
Definition at line 47 of file IndexService.h.
virtual Session (super::caller_type & caller, const SessionInitializer & initializer) SSRC_DECL_THROW(std Session::~Session() [inline] |
Definition at line 138 of file session/service.h.
The documentation for this class was generated from the following files: