Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / examples / LoadBalancing / StockFactory.h
blob17f030929c9dad4c45740d4fe404f1d617d5fa03
2 #ifndef STOCKFACTORY_H
3 #define STOCKFACTORY_H
5 #include "TestS.h"
6 #include "Stock.h"
8 class StockFactory
9 : public POA_Test::StockFactory
11 public:
12 StockFactory (CORBA::ORB_ptr orb, int number);
14 Test::Stock_ptr get_stock (const char *symbol);
16 virtual void shutdown (void);
18 private:
19 CORBA::ORB_var orb_;
20 Stock rhat_;
21 Stock msft_;
22 int number_;
25 #endif /* STOCKFACTORY_H */