diff options
Diffstat (limited to 'TAO/DevGuideExamples/NotifyService/QoSProperties/StructuredEventConsumer_i.h')
-rw-r--r-- | TAO/DevGuideExamples/NotifyService/QoSProperties/StructuredEventConsumer_i.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/TAO/DevGuideExamples/NotifyService/QoSProperties/StructuredEventConsumer_i.h b/TAO/DevGuideExamples/NotifyService/QoSProperties/StructuredEventConsumer_i.h new file mode 100644 index 00000000000..fbbc7fea45c --- /dev/null +++ b/TAO/DevGuideExamples/NotifyService/QoSProperties/StructuredEventConsumer_i.h @@ -0,0 +1,38 @@ +#ifndef _EVENTCONSUMER_I_H_ +#define _EVENTCONSUMER_I_H_ + +#include <orbsvcs/CosNotifyChannelAdminS.h> + +class StructuredEventConsumer_i : + public virtual POA_CosNotifyComm::StructuredPushConsumer +{ +public: + StructuredEventConsumer_i(CORBA::ORB_ptr orb); + + virtual void push_structured_event( + const CosNotification::StructuredEvent ¬ification + ) + throw ( + CORBA::SystemException, + CosEventComm::Disconnected + ); + + virtual void offer_change ( + const CosNotification::EventTypeSeq & added, + const CosNotification::EventTypeSeq & removed + ) + throw ( + CORBA::SystemException, + CosNotifyComm::InvalidEventType + ); + + virtual void disconnect_structured_push_consumer() + throw ( + CORBA::SystemException + ); + +private: + CORBA::ORB_var orb_; +}; + +#endif |