Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / apps / drwho / CM_Server.h
blobbd0ffae70b7a61466a8852c849eff7e6f276b2d3
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file CM_Server.h
7 * @author Douglas C. Schmidt
8 */
9 //=============================================================================
12 #ifndef _CM_SERVER_H
13 #define _CM_SERVER_H
15 #include "Options.h"
16 #include "global.h"
17 #include "Comm_Manager.h"
19 /**
20 * @class CM_Server
22 * @brief Provides a virtual communcations layer for the server in drwho.
24 class CM_Server : public Comm_Manager
26 public:
27 CM_Server ();
28 virtual ~CM_Server ();
30 virtual int open (short port_number);
31 virtual int receive (int timeout = 0);
32 virtual int send ();
33 virtual int mux (char *packet, int &packet_length) = 0;
34 virtual int demux (char *packet, int &packet_length) = 0;
37 #endif /* _CM_SERVER_H */