Main Page   Class Hierarchy   Compound List   File List   Compound Members  

serverggz.h

00001 #ifndef GGZ_AGS_SERVERGGZ_H
00002 #define GGZ_AGS_SERVERGGZ_H
00003 
00004 // GGZdMod includes
00005 #include <ggzdmod.h>
00006 
00007 // GGZ Advanced Game Server namespace
00008 namespace AGS
00009 {
00012         class ServerGGZ
00013         {
00014                 public:
00016                         ServerGGZ();
00017 
00019                         virtual ~ServerGGZ();
00020 
00021                         void createGGZSocket();
00022 
00023                 protected:
00025                         virtual void stateEvent();
00026 
00028                         virtual void joinEvent(int player);
00029 
00031                         virtual void leaveEvent(int player);
00032 
00034                         virtual void dataEvent(int player);
00035 
00037                         virtual void errorEvent();
00038 
00040                         int fd(int player);
00041 
00042                 private:
00043                         static void handle(GGZdMod* ggzdmod, GGZdModEvent event, void* data);
00044                         int m_connected;
00045         };
00046 };
00047 
00048 #endif
00049 

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