3 //=============================================================================
7 * @author Douglas C. Schmidt
9 //=============================================================================
15 #include "Protocol_Manager.h"
20 * @brief Provides the client side of the friend manager lookup table abstraction.
22 class PM_Client
: public Protocol_Manager
26 virtual ~PM_Client ();
28 virtual int encode (char *packet
, int &total_bytes
) = 0;
29 virtual int decode (char *packet
, int &total_bytes
) = 0;
30 virtual void process ();
35 virtual char *handle_protocol_entries (const char *cp
,
36 const char *key_name1
,
37 const char *key_name2
= 0);
39 virtual Protocol_Record
*insert_protocol_info (Protocol_Record
&protocol_record
);
42 #endif /* _PM_CLIENT_H */