Use =default for skeleton copy constructor
[ACE_TAO.git] / ACE / apps / drwho / PM_Server.h
blob52ffb63ae172045a0f9f5ab96bf78fc7010d7ec3
1 /* -*- C++ -*- */
3 //=============================================================================
4 /**
5 * @file PM_Server.h
7 * @author Douglas C. Schmidt
8 */
9 //=============================================================================
12 #ifndef _PM_SERVER_H
13 #define _PM_SERVER_H
15 #include "Protocol_Manager.h"
17 /**
18 * @class PM_Server
20 * @brief Handle the server's lookup table abstraction.
22 class PM_Server : public Protocol_Manager
24 public:
25 PM_Server ();
26 virtual ~PM_Server ();
28 virtual int encode (char *packet, int &total_bytes) = 0;
29 virtual int decode (char *packet, int &total_bytes) = 0;
30 virtual int process ();
32 protected:
33 virtual char *handle_protocol_entries (char *bp,
34 Drwho_Node *hp);
35 virtual Protocol_Record *insert_protocol_info (Protocol_Record &protocol_record);
38 #endif /* _PM_SERVER_H */