summaryrefslogtreecommitdiff
path: root/apps/drwho/PMC_Usr.h
blob: f98c8325b831917e6d8edf701cc404c30bd6c977 (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++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    drwho
//
// = FILENAME
//    PMC_Usr.h
//
// = AUTHOR
//    Douglas C. Schmidt
//
// ============================================================================

#ifndef _PMC_USR_H
#define _PMC_USR_H

#include "PM_Client.h"

class PMC_Usr : public PM_Client
{
  // = TITLE
  //   Provides the client's lookup table abstraction for `Usr' users...
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 */