summaryrefslogtreecommitdiff
path: root/apps/drwho/Protocol_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/drwho/Protocol_Manager.h')
-rw-r--r--apps/drwho/Protocol_Manager.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/apps/drwho/Protocol_Manager.h b/apps/drwho/Protocol_Manager.h
deleted file mode 100644
index d61e752c8df..00000000000
--- a/apps/drwho/Protocol_Manager.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/* -*- C++ -*- */
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// drwho
-//
-// = FILENAME
-// Protocol_Manager.h
-//
-// = AUTHOR
-// Douglas C. Schmidt
-//
-// ============================================================================
-
-#ifndef _PROTOCOL_MANAGER_H
-#define _PROTOCOL_MANAGER_H
-
-#include "ace/OS.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "Options.h"
-#include "Search_Struct.h"
-#include "Protocol_Record.h"
-
-class Protocol_Manager
-{
- // = TITLE
- // A base class that consolidates friend management functionality
- // shared by both clients and servers.
-public:
- Protocol_Manager (void);
- virtual ~Protocol_Manager (void);
-
- virtual int encode (char *packet, int &total_bytes) = 0;
- virtual int decode (char *packet, int &total_bytes) = 0;
-
-protected:
- int total_users;
- Search_Struct *ss;
-
- int friend_count (void);
-
- Drwho_Node *get_drwho_node (char *host_name, Drwho_Node *&head);
- int get_total_users (void);
- void increment_total_users (int remote_users = 1);
-
- Protocol_Record *get_next_friend (void);
- Protocol_Record *get_each_friend (void);
-
- virtual Protocol_Record *insert_protocol_info (Protocol_Record &protocol_record) = 0;
-};
-
-#endif /* _PROTOCOL_MANAGER_H */