diff options
Diffstat (limited to 'examples/QOS/Sender_QOS_Event_Handler.h')
-rw-r--r-- | examples/QOS/Sender_QOS_Event_Handler.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/examples/QOS/Sender_QOS_Event_Handler.h b/examples/QOS/Sender_QOS_Event_Handler.h deleted file mode 100644 index cd83c977d3b..00000000000 --- a/examples/QOS/Sender_QOS_Event_Handler.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// ACE_wrappers/examples/QOS -// -// = FILENAME -// QOS_Event_Handler.h -// -// = AUTHOR -// Vishal Kachroo <vishal@cs.wustl.edu> -// -// ============================================================================ - -#ifndef SENDER_QOS_EVENT_HANDLER_H -#define SENDER_QOS_EVENT_HANDLER_H - -#include "ace/Event_Handler.h" -#include "ace/Reactor.h" -#include "ace/INET_Addr.h" -#include "ace/SOCK_Dgram_Mcast.h" - -#define MY_DEFPORT 5001 -#define DEFAULT_MULTICASTGROUP "234.5.6.7" - -ACE_RCSID(QOS_Event_Handler, QOS_Event_Handler, "$Id$") - -class ACE_QOS_Event_Handler : public ACE_Event_Handler -{ -public: - // = Initialization and Termination methods. - ACE_QOS_Event_Handler (void); - // Constructor. - - ACE_QOS_Event_Handler::ACE_QOS_Event_Handler (const ACE_SOCK_Dgram_Mcast &dgram_mcast); - // Constructor. - - ~ACE_QOS_Event_Handler (void); - // Destructor. - - virtual ACE_HANDLE get_handle (void) const; - // Override this to return the handle of the Dgram_Mcast - // that we are using. - - virtual int handle_qos (ACE_HANDLE fd); - // Handles a QOS event. Right now, just - // prints a message. - -private: - - ACE_SOCK_Dgram_Mcast dgram_mcast_; - -}; - -#endif /* SENDER_QOS_EVENT_HANDLER_H */ |