SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GameHandler Class Referencefinal

#include <GameHandler.h>

Inheritance diagram for GameHandler:
Inheritance graph
Collaboration diagram for GameHandler:
Collaboration graph

Public Member Functions

 GameHandler ()
 
 ~GameHandler ()
 
void set_server (GameServer *s)
 
void start ()
 
- Public Member Functions inherited from EventProcessor
int open (void *args=nullptr)
 
int handle_timeout (const ACE_Time_Value &current_time, const void *act)
 
virtual bool per_thread_setup ()
 

Protected Member Functions

void dispatch (SEGSEvent *ev) override
 
void on_idle (IdleEvent *ev)
 
void on_link_lost (SEGSEvent *ev)
 
void on_disconnect (DisconnectRequest *ev)
 
void on_connection_request (ConnectRequest *ev)
 
void on_update_server (UpdateServer *ev)
 
void on_update_character (UpdateCharacter *ev)
 
void on_delete_character (DeleteCharacter *ev)
 
void on_map_req (MapServerAddrRequest *ev)
 
void on_unknown_link_event (GameUnknownRequest *ev)
 
void on_expect_client (ExpectClientRequest *ev)
 
void on_client_expected (ExpectMapClientResponse *ev)
 
void on_client_connected_to_other_server (ClientConnectedMessage *ev)
 
void on_client_disconnected_from_other_server (ClientDisconnectedMessage *ev)
 
void on_check_links ()
 
void reap_stale_links ()
 
void report_service_status ()
 
void on_timeout (TimerEvent *ev)
 
void on_game_db_error (GameDbErrorMessage *ev)
 
void on_account_data (GameAccountResponse *ev)
 This handler is called when we get the account information for a. More...
 
void on_character_deleted (RemoveCharacterResponse *ev)
 

Protected Attributes

sIds waiting_for_client
 
GameServerm_server
 

Member Function Documentation

void GameHandler::set_server ( GameServer s)
inline

Member Data Documentation

GameServer* GameHandler::m_server
protected
sIds GameHandler::waiting_for_client
protected

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