Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / Event_Service / Stock_i.h
blobe23c712b60de0323ee75a7a6a70085bb32c3bc79
2 #ifndef TAO_TUTORIAL_QUOTER_EVENT_SERVICE_STOCK_I_H
3 #define TAO_TUTORIAL_QUOTER_EVENT_SERVICE_STOCK_I_H
5 #include "QuoterS.h"
6 #include <orbsvcs/CosEventCommS.h>
7 #include <orbsvcs/CosEventChannelAdminC.h>
9 class Quoter_Stock_i
10 : public virtual POA_Quoter::Modify_Stock
12 public:
13 Quoter_Stock_i (const char *symbol,
14 const char *full_name,
15 CORBA::Double price);
17 char *symbol ();
18 char *full_name ();
19 CORBA::Double price ();
20 void set_price (CORBA::Double new_price);
22 void disconnect_push_supplier ();
24 void connect (CosEventChannelAdmin::SupplierAdmin_ptr supplier_admin);
26 private:
27 Quoter::Event data_;
29 CosEventChannelAdmin::ProxyPushConsumer_var consumer_proxy_;
31 POA_CosEventComm::PushSupplier_tie<Quoter_Stock_i> supplier_personality_;
34 #endif /* TAO_TUTORIAL_QUOTER_EVENT_SERVICE_STOCK_I_H */