Public Member Functions | Protected Member Functions

aesop::StateUpdates Class Reference

state update callback interface
WARNING: all of these interfaces must be threadsafe! More...

#include <srv-msg-router.h>

Inheritance diagram for aesop::StateUpdates:
Inheritance graph

List of all members.

Public Member Functions

virtual void newTcpConnectionTS (conn_id_t tcp_connId, long token)=0
virtual void enqueueMessageTS (conn_id_t tcp_connId, smart_ptr< MessageBuffer > &msg)=0
virtual void notifyDialogReplyTS (conn_id_t tcp_conn_id, const char *conversationGuid, int dialogId, int playerId, const Datahash *reply)=0
virtual bool setPlayerUserAccountTS (conn_id_t tcp_conn_id, int playerId, const char *username, const char *usertag, std::string &diagnostic)=0
virtual void newGameTS (conn_id_t tcp_conn_id, int playerId)=0
virtual void requestShutdownTS (void)=0

Protected Member Functions

virtual ~StateUpdates (void) throw ()
 can't delete through this interface

Detailed Description

state update callback interface
WARNING: all of these interfaces must be threadsafe!

All APIs have "TS" appended as a reminder...

TODO: this interface should probably move to aesop_interface.

Definition at line 62 of file srv-msg-router.h.

Constructor & Destructor Documentation

aesop::StateUpdates::~StateUpdates ( void   )  throw () [protected, virtual]

can't delete through this interface

Definition at line 48 of file srv-msg-router.cpp.

Member Function Documentation

virtual void aesop::StateUpdates::newTcpConnectionTS ( conn_id_t  tcp_connId,
long  token 
) [pure virtual]
virtual void aesop::StateUpdates::enqueueMessageTS ( conn_id_t  tcp_connId,
smart_ptr< MessageBuffer > &  msg 
) [pure virtual]
virtual void aesop::StateUpdates::notifyDialogReplyTS ( conn_id_t  tcp_conn_id,
const char *  conversationGuid,
int  dialogId,
int  playerId,
const Datahash reply 
) [pure virtual]
virtual bool aesop::StateUpdates::setPlayerUserAccountTS ( conn_id_t  tcp_conn_id,
int  playerId,
const char *  username,
const char *  usertag,
std::string &  diagnostic 
) [pure virtual]
virtual void aesop::StateUpdates::newGameTS ( conn_id_t  tcp_conn_id,
int  playerId 
) [pure virtual]
virtual void aesop::StateUpdates::requestShutdownTS ( void   )  [pure virtual]

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