2 #ifndef TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H
3 #define TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H
5 #include <orbsvcs/RtecEventCommS.h>
6 #include <orbsvcs/RtecEventChannelAdminC.h>
8 class Stock_Consumer
: public POA_RtecEventComm::PushConsumer
{
12 void connect (RtecEventChannelAdmin::EventChannel_ptr event_channel
,
13 const RtecEventChannelAdmin::ConsumerQOS
&subscriptions
);
14 // Connect to the event channel, using <consumer_admin> and
18 // Disconnect from the event channel.
20 void push (const RtecEventComm::EventSet
& data
);
21 void disconnect_push_consumer ();
24 RtecEventChannelAdmin::ProxyPushSupplier_var supplier_proxy_
;
25 // The supplier proxy.
28 #endif /* TAO_TUTORIALS_QUOTER_RT_EVENT_SERVICE_STOCK_CONSUMER_H */