My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
TipperServer.h
Go to the documentation of this file.
1 #ifndef GCP_UTIL_TIPPERSERVER_H
2 #define GCP_UTIL_TIPPERSERVER_H
3 
11 #include "gcp/util/common/Ports.h"
12 #include "gcp/util/common/Server.h"
13 #include "gcp/util/common/TipperData.h"
14 #include "gcp/util/common/TipperCommunicator.h"
15 #include "gcp/util/common/TipperReader.h"
16 
17 #include <string>
18 
19 namespace gcp {
20  namespace util {
21 
22  class TipperServer : public TipperReader,
23  public Server {
24  public:
25 
29  TipperServer(std::string ftpHost, bool spawnThread);
30 
34  virtual ~TipperServer();
35 
36  private:
37 
38  TipperCommunicator tipperComm_;
39  unsigned timeOutCounter_;
40  bool first_;
41 
42  void timeOutAction();
43  void acceptClientAction();
44 
45  }; // End class TipperServer
46 
47  } // End namespace util
48 } // End namespace gcp
49 
50 
51 #endif // End #ifndef GCP_UTIL_TIPPERSERVER_H
TipperServer(std::string ftpHost, bool spawnThread)
Definition: TipperServer.cc:13
Definition: TipperServer.h:22
Definition: TipperReader.h:16
virtual ~TipperServer()
Definition: TipperServer.cc:28
Definition: Server.h:29
Definition: TipperCommunicator.h:45