Savarese Software Research Corporation
session/protocol.h File Reference

This header defines the Session messaging protocol. More...

Include dependency graph for session/protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SessionProtocol
struct  SessionProtocol::MessageExpireSession
struct  SessionProtocol::MessageSetAttributes

Typedefs

typedef
boost::multi_index_container
< SessionData,
boost::multi_index::indexed_by
< boost::multi_index::hashed_unique
< boost::multi_index::member
< SessionData, sid_type,&SessionData::sid >
>, boost::multi_index::hashed_unique
< boost::multi_index::member
< SessionData, uid_type,&SessionData::uid >
>, boost::multi_index::ordered_non_unique
< boost::multi_index::member
< SessionData, idle_count_type,&SessionData::idle_count > > > > 
session_map
typedef session_map::nth_index
< BySID >::type 
index_by_sid
typedef session_map::nth_index
< ByUID >::type 
index_by_uid
typedef session_map::nth_index
< ByLastAccess >::type 
index_by_access

Enumerations

enum  SessionIndexScheme { BySID, ByUID, ByLastAccess }

Functions

__BEGIN_NS_SSRC_WSPR_PROTOCOL WSPR_DEFINE_PROTOCOL (Session, session)

Detailed Description

This header defines the Session messaging protocol.

Definition in file session/protocol.h.


Typedef Documentation

typedef session_map::nth_index<ByLastAccess>::type index_by_access

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

typedef session_map::nth_index<BySID>::type index_by_sid

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

typedef session_map::nth_index<ByUID>::type index_by_uid

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

typedef boost::multi_index_container< SessionData, boost::multi_index::indexed_by< boost::multi_index::hashed_unique< boost::multi_index::member<SessionData, sid_type, &SessionData::sid> >, boost::multi_index::hashed_unique< boost::multi_index::member<SessionData, uid_type, &SessionData::uid> >, boost::multi_index::ordered_non_unique< boost::multi_index::member<SessionData, idle_count_type, &SessionData::idle_count> > > > session_map

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


Enumeration Type Documentation

Enumerator:
BySID 
ByUID 
ByLastAccess 

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


Function Documentation


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