diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/lib/StructuredPushSupplier.h')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/lib/StructuredPushSupplier.h | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/TAO/orbsvcs/tests/Notify/lib/StructuredPushSupplier.h b/TAO/orbsvcs/tests/Notify/lib/StructuredPushSupplier.h deleted file mode 100644 index e1c11dc6a54..00000000000 --- a/TAO/orbsvcs/tests/Notify/lib/StructuredPushSupplier.h +++ /dev/null @@ -1,98 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file StructuredPushSupplier.h - * - * $Id$ - * - * @author Pradeep Gore <pradeep@oomworks.com> - * - * - */ - -#ifndef TAO_Notify_Tests_STRUCTUREDPUSHSUPPLIER_H -#define TAO_Notify_Tests_STRUCTUREDPUSHSUPPLIER_H -#include /**/ "ace/pre.h" - -#include "notify_test_export.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "orbsvcs/CosNotifyChannelAdminS.h" -#include "orbsvcs/NotifyExtC.h" - -#include "Supplier_T.h" - -class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_StructuredProxyPushConsumer_Traits -{ -public: - typedef CosNotifyChannelAdmin::StructuredProxyPushConsumer INTERFACE; - typedef CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr PTR; - typedef CosNotifyChannelAdmin::StructuredProxyPushConsumer_var VAR; - typedef CosNotifyChannelAdmin::ProxyID ID; -}; - -class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_StructuredPushSupplier_Traits -{ -public: - TAO_Notify_Tests_StructuredPushSupplier_Traits (void); - - typedef CosNotifyComm::StructuredPushSupplier INTERFACE; - typedef CosNotifyComm::StructuredPushSupplier_ptr PTR; - typedef CosNotifyComm::StructuredPushSupplier_var VAR; - typedef POA_CosNotifyComm::StructuredPushSupplier SKELETON; - - typedef TAO_Notify_Tests_StructuredProxyPushConsumer_Traits Proxy_Traits; - typedef TAO_Notify_Tests_SupplierAdmin_Traits Admin_Traits; - typedef TAO_Notify_Tests_SupplierAdmin_Ext_Traits Admin_Ext_Traits; - - const CosNotifyChannelAdmin::ClientType type_; -}; - -typedef TAO_Notify_Tests_Supplier_T<TAO_Notify_Tests_StructuredPushSupplier_Traits> TAO_Notify_Tests_StructuredPushSupplier_Base; - -/** - * @class TAO_Notify_Tests_StructuredPushSupplier - * - * @brief StructuredPushSupplier Implementation. - * - */ -class TAO_NOTIFY_TEST_Export TAO_Notify_Tests_StructuredPushSupplier : public TAO_Notify_Tests_StructuredPushSupplier_Base -{ - typedef TAO_Notify_Tests_StructuredPushSupplier_Traits Peer_Traits; - typedef Peer_Traits::Admin_Traits Admin_Traits; - typedef Peer_Traits::Admin_Ext_Traits Admin_Ext_Traits; - typedef Peer_Traits::Proxy_Traits Proxy_Traits; - -public: - /// Constuctor - TAO_Notify_Tests_StructuredPushSupplier (void); - - /// Destructor - virtual ~TAO_Notify_Tests_StructuredPushSupplier (); - - /// Send one event. - virtual void send_event (const CosNotification::StructuredEvent& event - ACE_ENV_ARG_DECL); - -protected: - /// Connect to Peer. - virtual void connect_to_peer (Proxy_Traits::PTR proxy_ptr, Peer_Traits::PTR peer_ptr ACE_ENV_ARG_DECL); - - /// Disconnect from proxy. - virtual void disconnect_from_proxy (ACE_ENV_SINGLE_ARG_DECL); - - // = StructuredPushSupplier method - virtual void disconnect_structured_push_supplier (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC (( - CORBA::SystemException - )); -}; - -#if defined (__ACE_INLINE__) -#include "StructuredPushSupplier.inl" -#endif /* __ACE_INLINE__ */ - -#include /**/ "ace/post.h" -#endif /* TAO_Notify_Tests_STRUCTUREDPUSHSUPPLIER_H */ |