Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Public Member Functions | Protected Member Functions | Protected Attributes
cat::sphynx::Map Class Reference

#include <SphynxServer.hpp>

List of all members.

Classes

struct  Slot

Public Member Functions

void DestroyList (Map::Slot *kill_list)
bool Insert (Connexion *conn)
ConnexionLookup (const NetAddr &addr)
ConnexionLookup (u32 key)
 Map ()
void Tick (ThreadPoolLocalStorage *tls)
virtual ~Map ()

Protected Member Functions

 CAT_ALIGNED (16) Slot _table[HASH_TABLE_SIZE]
CAT_INLINE u32 hash_addr (const NetAddr &addr, u32 salt)

Protected Attributes

u32 _hash_salt
RWLock _table_lock

Detailed Description

Definition at line 136 of file SphynxServer.hpp.


Constructor & Destructor Documentation

cat::sphynx::Map::Map ( )
virtual cat::sphynx::Map::~Map ( ) [virtual]

Member Function Documentation

cat::sphynx::Map::CAT_ALIGNED ( 16  ) [protected]
void cat::sphynx::Map::DestroyList ( Map::Slot kill_list)
CAT_INLINE u32 cat::sphynx::Map::hash_addr ( const NetAddr addr,
u32  salt 
) [protected]
bool cat::sphynx::Map::Insert ( Connexion conn)
Connexion* cat::sphynx::Map::Lookup ( u32  key)
Connexion* cat::sphynx::Map::Lookup ( const NetAddr addr)
void cat::sphynx::Map::Tick ( ThreadPoolLocalStorage tls)

Member Data Documentation

Definition at line 150 of file SphynxServer.hpp.

Definition at line 152 of file SphynxServer.hpp.


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

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net