Public Member Functions | Static Public Member Functions

aesop::Server Class Reference
[AESOP Server Library]

Root object that manages all aesop server state. More...

#include <aesop-srv.h>

Inheritance diagram for aesop::Server:
Inheritance graph

List of all members.

Public Member Functions

virtual ~Server (void) throw ()
virtual int exec (void)=0
 Entry point for the server.
virtual void requestStopTS (int retval)=0
 Threadsafe method called to request that the server halt (force exec() to return).

Static Public Member Functions

static smart_ptr< Servercreate (smart_ptr< Datahash > &op_params, smart_ptr< ServerGameLogic > &gLogic)

Detailed Description

Root object that manages all aesop server state.

Typical usage is to construct a rich Datahash containing configuration loaded from files, supply your own GameLogic object containing the game rules, create a Server, and then call exec().

Definition at line 65 of file aesop-srv.h.

Constructor & Destructor Documentation

aesop::Server::~Server ( void   )  throw () [virtual]

Definition at line 53 of file aesop-srv.cpp.

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