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