00001 /* -*- C++ -*- */ 00002 /** 00003 * @file RT_StructuredProxyPushSupplier.h 00004 * 00005 * RT_StructuredProxyPushSupplier.h,v 1.13 2006/03/15 21:29:10 jtc Exp 00006 * 00007 * @author Pradeep Gore <pradeep@oomworks.com> 00008 * 00009 * 00010 */ 00011 00012 #ifndef TAO_Notify_RT_STRUCTUREDPROXYPUSHSUPPLIER_H 00013 #define TAO_Notify_RT_STRUCTUREDPROXYPUSHSUPPLIER_H 00014 #include /**/ "ace/pre.h" 00015 00016 #include "orbsvcs/Notify/rt_notify_export.h" 00017 00018 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00019 # pragma once 00020 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00021 00022 #include "orbsvcs/Notify/Structured/StructuredProxyPushSupplier.h" 00023 00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00025 00026 /** 00027 * @class TAO_Notify_RT_StructuredProxyPushSupplier 00028 * 00029 * @brief 00030 * 00031 */ 00032 class TAO_RT_Notify_Export TAO_Notify_RT_StructuredProxyPushSupplier : 00033 public virtual TAO_Notify_StructuredProxyPushSupplier 00034 { 00035 public: 00036 /// Constuctor 00037 TAO_Notify_RT_StructuredProxyPushSupplier (void); 00038 00039 /// Destructor 00040 ~TAO_Notify_RT_StructuredProxyPushSupplier (); 00041 00042 /// Activate this object and obtain the Event_Forwarder interface. 00043 virtual CORBA::Object_ptr activate (PortableServer::Servant servant ACE_ENV_ARG_DECL); 00044 00045 /// Dummy method to prevent hidden TAO_Notify_Proxy::activate warning. 00046 virtual CORBA::Object_ptr activate (PortableServer::Servant servant, 00047 CORBA::Long id ACE_ENV_ARG_DECL); 00048 00049 /// Dispatch Event to consumer 00050 void deliver (TAO_Notify_Method_Request_Dispatch_No_Copy & request ACE_ENV_ARG_DECL); 00051 00052 /// Dispatch Event to consumer, no filtering 00053 virtual void push_no_filtering (const TAO_Notify_Event* event ACE_ENV_ARG_DECL); 00054 00055 private: 00056 /// Our ref. 00057 Event_Forwarder::StructuredProxyPushSupplier_var event_forwarder_; 00058 }; 00059 00060 TAO_END_VERSIONED_NAMESPACE_DECL 00061 00062 #include /**/ "ace/post.h" 00063 #endif /* TAO_Notify_RT_STRUCTUREDPROXYPUSHSUPPLIER_H */