My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
WxClientSA.h
Go to the documentation of this file.
1 #ifndef GCP_UTIL_WXCLIENTSA_H
2 #define GCP_UTIL_WXCLIENTSA_H
3 
11 #include "gcp/util/common/Client.h"
12 #include "gcp/util/common/Ports.h"
13 #include "gcp/util/common/WxDataSA.h"
14 
15 #include <vector>
16 #include <string>
17 
18 namespace gcp {
19  namespace util {
20 
21  class WxClientSA : public Client {
22  public:
23 
27  WxClientSA(bool spawnThread, std::string host="localhost",
28  unsigned port=Ports::wxPort("cbass"));
29 
33  virtual ~WxClientSA();
34 
35  protected:
36 
37  WxDataSA wxData_;
38  std::vector<unsigned char> bytes_;
39  virtual void readServerData(NetHandler& handler);
40  virtual void processServerData() {};
41 
42  }; // End class WxClientSA
43 
44  } // End namespace util
45 } // End namespace gcp
46 
47 
48 #endif // End #ifndef GCP_UTIL_WXCLIENTSA_H
Definition: NetHandler.h:16
Definition: WxDataSA.h:16
virtual ~WxClientSA()
Definition: WxClientSA.cc:24
Definition: Client.h:21
WxClientSA(bool spawnThread, std::string host="localhost", unsigned port=Ports::wxPort("cbass"))
Definition: WxClientSA.cc:12
Definition: WxClientSA.h:21