CARMA C++
NetMonitorFrameClient.h
Go to the documentation of this file.
1 // $Id: NetMonitorFrameClient.h,v 1.2 2013/11/19 22:55:28 eml Exp $
2 
3 #ifndef SZA_UTIL_NETMONITORFRAMECLIENT_H
4 #define SZA_UTIL_NETMONITORFRAMECLIENT_H
5 
15 #include "carma/szautil/Client.h"
16 
17 namespace sza {
18  namespace util {
19 
20  class NetMonitorFrame;
21 
22  class NetMonitorFrameClient : public sza::util::Client {
23  public:
24 
28  NetMonitorFrameClient(bool spawnThread, std::string host, unsigned port, NetMonitorFrame* nmf, int fdWrite=-1, bool spawnSignalHandler=false);
29 
33  virtual ~NetMonitorFrameClient();
34 
35  protected:
36 
37  NetMonitorFrame* nmf_;
38  int fdWrite_;
39 
40  void processServerData();
41  void notify();
42 
43  }; // End class NetMonitorFrameClient
44 
45  } // End namespace util
46 } // End namespace sza
47 
48 
49 
50 #endif // End #ifndef SZA_UTIL_NETMONITORFRAMECLIENT_H