diff options
Diffstat (limited to 'ACE/apps/drwho/Comm_Manager.h')
-rw-r--r-- | ACE/apps/drwho/Comm_Manager.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/ACE/apps/drwho/Comm_Manager.h b/ACE/apps/drwho/Comm_Manager.h deleted file mode 100644 index c7e8348b542..00000000000 --- a/ACE/apps/drwho/Comm_Manager.h +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// drwho -// -// = FILENAME -// Comm_Manager.h -// -// = AUTHOR -// Douglas C. Schmidt -// -// ============================================================================ - -#ifndef _COMM_MANAGER_H -#define _COMM_MANAGER_H - -#include "global.h" -#include "ace/os_include/netinet/os_in.h" - -class Comm_Manager -{ -public: - - virtual ~Comm_Manager (void); - - // = TITLE - // Provides a virtual communcations layer for the drwho program. -protected: - char recv_packet_[UDP_PACKET_SIZE]; - char send_packet_[UDP_PACKET_SIZE]; - sockaddr_in sin_; - int sokfd_; - - virtual int mux (char *packet, int &packet_length) = 0; - virtual int demux (char *packet, int &packet_length) = 0; - virtual int open (short port_number) = 0; - virtual int receive (int timeout = 0) = 0; - virtual int send (void) = 0; -}; - -#endif /* _COMM_MANAGER_H */ |