3 #ifndef SZA_UTIL_NETMONITORSTREAMSERVER_H
4 #define SZA_UTIL_NETMONITORSTREAMSERVER_H
15 #include "carma/szautil/Server.h"
20 class NetMonitorFrame;
22 class NetMonitorStreamServer :
public sza::util::Server {
28 NetMonitorStreamServer(
bool spawnThread,
unsigned port, NetMonitorFrame* ndf);
29 NetMonitorStreamServer(
bool spawnThread,
unsigned port, NetMonitorFrame* ndf,
int fdRead);
34 virtual ~NetMonitorStreamServer();
38 NetMonitorFrame* nmf_;
43 void acceptClientAction(ServerConnection* conn);
44 void checkForDataFrames();
45 void sendRegisterMap(ServerConnection* conn);
47 void forwardDataFrame();
56 #endif // End #ifndef SZA_UTIL_NETMONITORSTREAMSERVER_H