Main Page   Class Hierarchy   Compound List   File List   Compound Members  

AGS::ServerGGZ Class Reference

#include <serverggz.h>

Inheritance diagram for AGS::ServerGGZ::

AGS::ServerBase AGS::Server List of all members.

Public Methods

 ServerGGZ ()
virtual ~ServerGGZ ()
void createGGZSocket ()

Protected Methods

virtual void stateEvent ()
virtual void joinEvent (int player)
virtual void leaveEvent (int player)
virtual void dataEvent (int player)
virtual void errorEvent ()
int fd (int player)

Detailed Description

GGZ game server interface. This is a wrapper for ggzdmod, which allows for catching of standardized server events.


Constructor & Destructor Documentation

ServerGGZ::ServerGGZ  
 

Create a GGZ game server interface.

ServerGGZ::~ServerGGZ   [virtual]
 

Virtual constructor, cleans up internal data.


Member Function Documentation

void ServerGGZ::dataEvent int    player [protected, virtual]
 

Data arrives from a GGZ player.

void ServerGGZ::errorEvent   [protected, virtual]
 

An error occured.

int ServerGGZ::fd int    player [protected]
 

Returns the file descriptor of a player.

void ServerGGZ::joinEvent int    player [protected, virtual]
 

GGZ event triggered when a new player joins a game.

void ServerGGZ::leaveEvent int    player [protected, virtual]
 

GGZ event triggered when a player leaves a game.

void ServerGGZ::stateEvent   [protected, virtual]
 

GGZ event indicating that a game's state has changed.


The documentation for this class was generated from the following files:
Generated on Mon May 6 10:52:13 2002 for GGZ Advanced Game Server by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001