state update callback interface
WARNING: all of these interfaces must be threadsafe!
More...
#include <srv-msg-router.h>
Public Member Functions | |
virtual void | newTcpConnectionTS (IN conn_id_t tcp_connId, IN long token)=0 |
virtual void | enqueueMessageTS (IN conn_id_t tcp_connId, IN smart_ptr< MessageBuffer > &msg)=0 |
virtual void | notifyDialogReplyTS (IN conn_id_t tcp_conn_id, IN const char *conversationGuid, IN int dialogId, IN int playerId, IN const Datahash *reply)=0 |
virtual bool | setPlayerUserAccountTS (IN conn_id_t tcp_conn_id, IN int playerId, IN const char *username, IN const char *usertag, OUT std::string &diagnostic)=0 |
virtual void | newGameTS (IN conn_id_t tcp_conn_id, IN int playerId)=0 |
virtual void | requestShutdownTS (void)=0 |
Protected Member Functions | |
virtual | ~StateUpdates (void) throw () |
can't delete through this interface |
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.
aesop::StateUpdates::~StateUpdates | ( | void | ) | throw () [protected, virtual] |
can't delete through this interface
Definition at line 48 of file srv-msg-router.cpp.
virtual void aesop::StateUpdates::newTcpConnectionTS | ( | IN conn_id_t | tcp_connId, | |
IN long | token | |||
) | [pure virtual] |
virtual void aesop::StateUpdates::enqueueMessageTS | ( | IN conn_id_t | tcp_connId, | |
IN smart_ptr< MessageBuffer > & | msg | |||
) | [pure virtual] |
virtual void aesop::StateUpdates::notifyDialogReplyTS | ( | IN conn_id_t | tcp_conn_id, | |
IN const char * | conversationGuid, | |||
IN int | dialogId, | |||
IN int | playerId, | |||
IN const Datahash * | reply | |||
) | [pure virtual] |
virtual bool aesop::StateUpdates::setPlayerUserAccountTS | ( | IN conn_id_t | tcp_conn_id, | |
IN int | playerId, | |||
IN const char * | username, | |||
IN const char * | usertag, | |||
OUT std::string & | diagnostic | |||
) | [pure virtual] |
virtual void aesop::StateUpdates::newGameTS | ( | IN conn_id_t | tcp_conn_id, | |
IN int | playerId | |||
) | [pure virtual] |
virtual void aesop::StateUpdates::requestShutdownTS | ( | void | ) | [pure virtual] |