summaryrefslogtreecommitdiff
path: root/ACE/apps/drwho/PMC_Ruser.h
blob: bf61e0800c38a10b9bb40f97bc949fbc737e40e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* -*- C++ -*- */

//=============================================================================
/**
 *  @file    PMC_Ruser.h
 *
 *  @author Douglas C. Schmidt
 */
//=============================================================================


#ifndef _PMC_RUSER_H
#define _PMC_RUSER_H

#include "PM_Client.h"

/**
 * @class PMC_Ruser
 *
 * @brief Provides the client's lookup table abstraction for `ruser' users...
 */
class PMC_Ruser : public PM_Client
{

public:
  PMC_Ruser (void);
  virtual void process (void);

protected:
  char *handle_protocol_entries (const char *cp,
                                 const char *host_name,
                                 const char * = 0);
  Protocol_Record *insert_protocol_info (Protocol_Record &protocol_record);
  virtual int encode (char *packet, int &total_bytes);
  virtual int decode (char *packet, int &total_bytes);
};

#endif /* _PMC_RUSER_H */