![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
#include <SphynxServer.hpp>
Inheritance diagram for cat::sphynx::Connexion:Public Member Functions | |
| Connexion () | |
| void | Destroy () |
| CAT_INLINE u32 | GetKey () |
| CAT_INLINE bool | IsValid () |
| virtual | ~Connexion () |
Protected Member Functions | |
| virtual void | OnConnect (ThreadPoolLocalStorage *tls)=0 |
| virtual void | OnDestroy ()=0 |
| virtual void | OnTick (ThreadPoolLocalStorage *tls, u32 now)=0 |
Protected Attributes | |
| AuthenticatedEncryption | _auth_enc |
| NetAddr | _client_addr |
| u32 | _last_recv_tsc |
| bool | _seen_encrypted |
Private Member Functions | |
| void | OnRawData (ThreadPoolLocalStorage *tls, u8 *data, u32 bytes) |
| virtual bool | PostPacket (u8 *buffer, u32 buf_bytes, u32 msg_bytes, u32 skip_bytes) |
| bool | Tick (ThreadPoolLocalStorage *tls, u32 now) |
Private Attributes | |
| u8 | _cached_answer [128] |
| volatile u32 | _destroyed |
| u8 | _first_challenge [64] |
| u32 | _key |
| Connexion * | _next_delete |
| ServerWorker * | _server_worker |
Friends | |
| class | Map |
| class | Server |
| class | ServerTimer |
| class | ServerWorker |
Definition at line 83 of file SphynxServer.hpp.
| cat::sphynx::Connexion::Connexion | ( | ) |
| virtual cat::sphynx::Connexion::~Connexion | ( | ) | [inline, virtual] |
Definition at line 92 of file SphynxServer.hpp.
{}
| void cat::sphynx::Connexion::Destroy | ( | ) |
| CAT_INLINE u32 cat::sphynx::Connexion::GetKey | ( | ) | [inline] |
| CAT_INLINE bool cat::sphynx::Connexion::IsValid | ( | ) | [inline] |
| virtual void cat::sphynx::Connexion::OnConnect | ( | ThreadPoolLocalStorage * | tls | ) | [protected, pure virtual] |
| virtual void cat::sphynx::Connexion::OnDestroy | ( | ) | [protected, pure virtual] |
| void cat::sphynx::Connexion::OnRawData | ( | ThreadPoolLocalStorage * | tls, |
| u8 * | data, | ||
| u32 | bytes | ||
| ) | [private] |
| virtual void cat::sphynx::Connexion::OnTick | ( | ThreadPoolLocalStorage * | tls, |
| u32 | now | ||
| ) | [protected, pure virtual] |
| virtual bool cat::sphynx::Connexion::PostPacket | ( | u8 * | buffer, |
| u32 | buf_bytes, | ||
| u32 | msg_bytes, | ||
| u32 | skip_bytes | ||
| ) | [private, virtual] |
Implements cat::sphynx::Transport.
| bool cat::sphynx::Connexion::Tick | ( | ThreadPoolLocalStorage * | tls, |
| u32 | now | ||
| ) | [private] |
friend class Map [friend] |
Definition at line 86 of file SphynxServer.hpp.
friend class Server [friend] |
Definition at line 85 of file SphynxServer.hpp.
friend class ServerTimer [friend] |
Definition at line 88 of file SphynxServer.hpp.
friend class ServerWorker [friend] |
Definition at line 87 of file SphynxServer.hpp.
Definition at line 125 of file SphynxServer.hpp.
u8 cat::sphynx::Connexion::_cached_answer[128] [private] |
Definition at line 102 of file SphynxServer.hpp.
NetAddr cat::sphynx::Connexion::_client_addr [protected] |
Definition at line 119 of file SphynxServer.hpp.
volatile u32 cat::sphynx::Connexion::_destroyed [private] |
Definition at line 95 of file SphynxServer.hpp.
Referenced by IsValid().
u8 cat::sphynx::Connexion::_first_challenge[64] [private] |
Definition at line 101 of file SphynxServer.hpp.
u32 cat::sphynx::Connexion::_key [private] |
Definition at line 97 of file SphynxServer.hpp.
Referenced by GetKey().
u32 cat::sphynx::Connexion::_last_recv_tsc [protected] |
Definition at line 122 of file SphynxServer.hpp.
Connexion* cat::sphynx::Connexion::_next_delete [private] |
Definition at line 98 of file SphynxServer.hpp.
bool cat::sphynx::Connexion::_seen_encrypted [protected] |
Definition at line 124 of file SphynxServer.hpp.
Definition at line 99 of file SphynxServer.hpp.
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.