summaryrefslogtreecommitdiff
path: root/ACE/apps/drwho/PMC_Usr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/drwho/PMC_Usr.h')
-rw-r--r--ACE/apps/drwho/PMC_Usr.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/ACE/apps/drwho/PMC_Usr.h b/ACE/apps/drwho/PMC_Usr.h
new file mode 100644
index 00000000000..f98c8325b83
--- /dev/null
+++ b/ACE/apps/drwho/PMC_Usr.h
@@ -0,0 +1,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 */