src/Client.h

00001 #ifndef CLIENT_H_
00002 #define CLIENT_H_
00003 
00004 #include "SDL.h"
00005 #include "SDL_net.h"
00006 #include "SDL_thread.h"
00007 
00008 #include "Connection.h"
00009 
00010 class Server;   // Forward declarations
00011 class Clientfsm;
00012 class Account;
00013 
00019 class Client : public Connection
00020 {
00021 public:
00022 
00034         Client(TCPsocket socket, Server* server);
00035 
00039         virtual ~Client();
00040 
00050         void startListen(ConnectionData * data);
00051 
00059         void setAccount(Account* account);
00060 
00068         Account* getAccount() {return myAccount;}
00069 
00070 private:
00071 
00072         Server* myServer;       
00073         Account* myAccount; 
00074 };
00075 
00076 #endif /*CLIENT_H_*/

Generated on Mon Dec 3 04:30:12 2007 for lo-testserver by  doxygen 1.3.9.1