00001 /* 00002 * Server.h 00003 * 00004 * Created on: 09.04.2011 00005 * Author: nick 00006 */ 00007 00008 #ifndef SERVER_H_ 00009 #define SERVER_H_ 00010 00011 #include "Protocol.h" 00012 #include <stdlib.h> 00013 00014 //template <class Listener_T> 00015 class Server: public Protocol /*<Listener_T>*/ { 00016 protected: 00017 //int connSocket; 00018 unsigned int clientID; 00019 public: 00020 virtual void startXMLTagNodeHandler(Node* node); 00021 virtual void endXMLTagNodeHandler(Node* node); 00022 unsigned int getClientID(){return clientID;} 00023 void setClientId(unsigned int clntid){clientID=clntid;} 00024 Server(); 00025 virtual ~Server(); 00026 //void accept(u_int16_t skt_id); 00027 }; 00028 00029 #endif /* SERVER_H_ */
1.7.1