Savarese Software Research Corporation
SessionProtocol Struct Reference

#include <protocol.h>

Inheritance diagram for SessionProtocol:

List of all members.

Classes

struct  MessageExpireSession
struct  MessageSetAttributes

Public Types

enum  {
  CreateSession = MaxDictionaryMessageID + 1, GetSession, ExpireSession, SetAttributes,
  UpdateSession, LoginSession, LogoutSession
}
enum  
enum  
enum  
typedef
protocol::ServiceProtocol
< protocol::MessageSession
< 0 >::protocol
super
typedef session_map map_type
typedef SessionIndexScheme index_scheme
typedef map_type::template
nth_index< ByDefault >::type 
index_by_default
typedef
protocol::MessageSession
< QueryAll
MessageQueryAll
typedef MessageQuery
< QueryByDefault, ByDefault
MessageQueryByDefault
typedef MessageQuery< Erase,
ByDefault
MessageErase
typedef MessageSingleQuery
< SingleQueryByDefault,
ByDefault
MessageSingleQueryByDefault

Public Member Functions

 WISP_PROTOCOL_MESSAGE_WITH_INIT (CreateSession, protocol::MessageSession,((sid_type, sid)),(""))
 WISP_PROTOCOL_MESSAGE_WITH_INIT (GetSession, protocol::MessageSession,((sid_type, sid))((bool, update_access_time)),("")(true))
 WISP_PROTOCOL_MESSAGE (UpdateSession, protocol::MessageSession,((SessionData, session)))
 WISP_PROTOCOL_MESSAGE (LoginSession, protocol::MessageSession,((SessionData, session)))
 WISP_PROTOCOL_MESSAGE (LogoutSession, protocol::MessageSession,((SessionData, session)))
 WISP_ONE_WAY_CALL (caller_type, ExpireSession)
 WISP_ONE_WAY_CALL (caller_type, SetAttributes)
 WISP_ONE_WAY_CALL (caller_type, UpdateSession)
 WISP_ONE_WAY_CALL (caller_type, LoginSession)
 WISP_ONE_WAY_CALL (caller_type, LogoutSession)
 WISP_TWO_WAY_CALL (caller_type, CreateSession, SingleQueryResult)
 WISP_TWO_WAY_CALL (caller_type, GetSession, SingleQueryResult)
 WISP_IMPORT_T (super, caller_type)
 WISP_ONE_WAY_CALL (caller_type, Insert)
 WISP_ONE_WAY_CALL (caller_type, Erase)
 WISP_ONE_WAY_CALL (caller_type, QueryResult)
 WISP_ONE_WAY_CALL (caller_type, SingleQueryResult)
 WISP_TWO_WAY_CALL (caller_type, QueryAll, QueryResult)
 WISP_TWO_WAY_CALL (caller_type, QueryByDefault, QueryResult)
 WISP_TWO_WAY_CALL (caller_type, SingleQueryByDefault, SingleQueryResult)

Static Public Member Functions

static string event_group_expire ()
static string event_group_login ()
static string event_group_logout ()

Static Public Attributes

static const index_scheme ByDefault

Detailed Description

Definition at line 56 of file session/protocol.h.


Member Typedef Documentation

typedef map_type::template nth_index<ByDefault>::type DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::index_by_default [inherited]

Definition at line 59 of file DictionaryProtocol.h.

typedef SessionIndexScheme DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::index_scheme [inherited]

Definition at line 54 of file DictionaryProtocol.h.

typedef session_map DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::map_type [inherited]

Definition at line 53 of file DictionaryProtocol.h.

typedef MessageQuery<Erase, ByDefault> DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::MessageErase [inherited]

Definition at line 101 of file DictionaryProtocol.h.

typedef protocol::MessageSession <QueryAll> DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::MessageQueryAll [inherited]

Definition at line 61 of file DictionaryProtocol.h.

typedef MessageQuery<QueryByDefault, ByDefault> DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::MessageQueryByDefault [inherited]

Definition at line 100 of file DictionaryProtocol.h.

typedef MessageSingleQuery<SingleQueryByDefault, ByDefault> DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::MessageSingleQueryByDefault [inherited]

Definition at line 141 of file DictionaryProtocol.h.

typedef protocol::ServiceProtocol<protocol::MessageSession <0>::protocol> DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::super [inherited]

Definition at line 38 of file DictionaryProtocol.h.


Member Enumeration Documentation

anonymous enum [inherited]

Definition at line 43 of file DictionaryProtocol.h.

anonymous enum [inherited]

Definition at line 49 of file DictionaryProtocol.h.

anonymous enum [inherited]

Definition at line 63 of file DictionaryProtocol.h.

anonymous enum
Enumerator:
CreateSession 
GetSession 
ExpireSession 
SetAttributes 
UpdateSession 
LoginSession 
LogoutSession 

Definition at line 72 of file session/protocol.h.


Member Function Documentation

static string SessionProtocol::event_group_login ( ) [inline, static]

Definition at line 64 of file session/protocol.h.

References WSPR_EVENT_GROUP.

Referenced by GroupSessionService::transition(), and EventQueue::transition().

static string SessionProtocol::event_group_logout ( ) [inline, static]

Definition at line 68 of file session/protocol.h.

References WSPR_EVENT_GROUP.

DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_IMPORT_T ( super  ,
caller_type   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_ONE_WAY_CALL ( caller_type  ,
Insert   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_ONE_WAY_CALL ( caller_type  ,
Erase   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_ONE_WAY_CALL ( caller_type  ,
QueryResult   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_ONE_WAY_CALL ( caller_type  ,
SingleQueryResult   
) [inherited]
SessionProtocol::WISP_PROTOCOL_MESSAGE ( UpdateSession  ,
protocol::MessageSession  ,
((SessionData, session))   
)
SessionProtocol::WISP_PROTOCOL_MESSAGE ( LoginSession  ,
protocol::MessageSession  ,
((SessionData, session))   
)
SessionProtocol::WISP_PROTOCOL_MESSAGE ( LogoutSession  ,
protocol::MessageSession  ,
((SessionData, session))   
)
SessionProtocol::WISP_PROTOCOL_MESSAGE_WITH_INIT ( CreateSession  ,
protocol::MessageSession  ,
((sid_type, sid))  ,
("")   
)
SessionProtocol::WISP_PROTOCOL_MESSAGE_WITH_INIT ( GetSession  ,
protocol::MessageSession  ,
((sid_type, sid))((bool, update_access_time))  ,
("")(true)   
)
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_TWO_WAY_CALL ( caller_type  ,
QueryAll  ,
QueryResult   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_TWO_WAY_CALL ( caller_type  ,
QueryByDefault  ,
QueryResult   
) [inherited]
DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::WISP_TWO_WAY_CALL ( caller_type  ,
SingleQueryByDefault  ,
SingleQueryResult   
) [inherited]

Member Data Documentation

const index_scheme DictionaryProtocol< protocol::MessageSession , session_map , SessionIndexScheme >::ByDefault [static, inherited]

Definition at line 56 of file DictionaryProtocol.h.


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

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