summaryrefslogtreecommitdiff
path: root/ACE/apps/drwho/PMC_Usr.h
blob: 98e1887c7332075bee68471b00bf97577dbc575a (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_Usr.h
 *
 *  $Id$
 *
 *  @author Douglas C. Schmidt
 */
//=============================================================================


#ifndef _PMC_USR_H
#define _PMC_USR_H

#include "PM_Client.h"

/**
 * @class PMC_Usr
 *
 * @brief Provides the client's lookup table abstraction for `Usr' users...
 */
class PMC_Usr : public PM_Client
{
public:
  PMC_Usr (char *usr_name);
  virtual void process (void);

protected:
  virtual int encode (char *packet, int &total_bytes);
  virtual int decode (char *packet, int &total_bytes);

private:
  char *usr_name;
};

#endif /* _PMC_USR_H */