// // $Id: Stock_Consumer.h 78603 2007-06-27 09:40:37Z johnnyw $ // #ifndef TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H #define TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H #include #include class Stock_Consumer : public POA_RtecEventComm::PushConsumer { public: Stock_Consumer (); void connect (RtecEventChannelAdmin::EventChannel_ptr event_channel, const RtecEventChannelAdmin::ConsumerQOS &subscriptions); // Connect to the event channel, using and // void disconnect (); // Disconnect from the event channel. void push (const RtecEventComm::EventSet& data); void disconnect_push_consumer (void); private: RtecEventChannelAdmin::ProxyPushSupplier_var supplier_proxy_; // The supplier proxy. }; #endif /* TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H */