summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Bug_2560_Regression/Stock_Factory_i.h
blob: afb9775d04cece52291266291559f9bc70a7efe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// $Id$
//

#ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H
#define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H

#include "Stock_i.h"

class Quoter_Stock_Factory_i : public POA_Quoter::Stock_Factory {
public:
  Quoter_Stock_Factory_i ();

  Quoter::Stock_ptr get_stock (const char *symbol)
    throw (Quoter::Invalid_Stock_Symbol);

private:
  Quoter_Stock_i* servant1_;
  Quoter_Stock_i* servant2_;
  Quoter::Stock_ptr ref1_ ;
  Quoter::Stock_ptr ref2_ ;
};

#endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H */