Main Page   Class Hierarchy   Compound List   File List   Compound Members  

server.h

00001 #ifndef GGZ_AGS_SERVER_H
00002 #define GGZ_AGS_SERVER_H
00003 
00004 // Include server base
00005 #include "serverbase.h"
00006 
00007 // Other includes
00008 #include <list>
00009 
00010 // GGZ Advanced Game Server namespace
00011 namespace AGS
00012 {
00013         // Forward declarations
00014         class World;
00015 
00017         class Server : public ServerBase
00018         {
00019                 public:
00021                         Server(int port);
00022                         virtual ~Server();
00023 
00024                 protected:
00025                         virtual World *createWorld(int id);
00026 
00027                 private:
00028                         void handleData(void *data, int length);
00029                         /*void commandline(int fd);*/
00030 
00031                         std::list<World*> m_worlds;
00032         };
00033 };
00034 
00035 #endif
00036 

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