diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:11 +0000 |
commit | 8008dd09ccf88d4edef237a184a698cac42f2952 (patch) | |
tree | da50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h | |
parent | 13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff) | |
download | ATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz |
Repo restructuring
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h b/TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h deleted file mode 100644 index 8c79e6415f6..00000000000 --- a/TAO/orbsvcs/orbsvcs/Event/ECG_Adapters.h +++ /dev/null @@ -1,79 +0,0 @@ -// -*- C++ -*- - -/** - * @file ECG_Adapters.h - * - * $Id$ - * - * @author Marina Spivak <marina@atdesk.com> - * - * Define interfaces ECG Receivers and Mcast and UDP handlers can use - * to communicate with each other. - * Use of these interfaces eliminates the coupling of specific - * Receivers on specific handlers, and vice versa. - * - */ -#ifndef TAO_ECG_ADAPTERS_H -#define TAO_ECG_ADAPTERS_H -#include /**/ "ace/pre.h" - -#include /**/ "orbsvcs/Event/event_serv_export.h" -#include "orbsvcs/RtecUDPAdminC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Refcounted_Auto_Ptr.h" - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL -class ACE_SOCK_Dgram; -ACE_END_VERSIONED_NAMESPACE_DECL - -TAO_BEGIN_VERSIONED_NAMESPACE_DECL - -/** - * @class TAO_ECG_Handler_Shutdown - * - * @brief Interface that should be implemented - * by multicast and udp handlers in EC gateways, so the - * handlers can be notified of shutdown (usually by Event Receivers). - */ -class TAO_RTEvent_Serv_Export TAO_ECG_Handler_Shutdown -{ -public: - - // Define virtual destructor to make sure we can delete derived - // objects through a pointer to TAO_ECG_Handler_Shutdown. - virtual ~TAO_ECG_Handler_Shutdown (void); - virtual int shutdown (void) = 0; -}; - -/** - * @class TAO_ECG_Dgram_Handler - * - * @brief Interface used by mcast/udp handlers to notify interested - * components (usually Event Receivers) that there is data - * available on the dgram for reading, and to query them about - * event type to mcast group mappings. - */ -class TAO_RTEvent_Serv_Export TAO_ECG_Dgram_Handler -{ -public: - - virtual ~TAO_ECG_Dgram_Handler (void); - - virtual int handle_input (ACE_SOCK_Dgram& dgram) = 0; - - virtual void get_addr (const RtecEventComm::EventHeader& header, - RtecUDPAdmin::UDP_Addr_out addr - ACE_ENV_ARG_DECL) = 0; -}; - -typedef ACE_Refcounted_Auto_Ptr<TAO_ECG_Handler_Shutdown, - ACE_Null_Mutex> TAO_ECG_Refcounted_Handler; - -TAO_END_VERSIONED_NAMESPACE_DECL - -#include /**/ "ace/post.h" -#endif /* TAO_ECG_ADAPTERS_H */ |