summaryrefslogtreecommitdiff
path: root/TAO/tests/corba_loc/Stock_Factory_i.h
blob: b697664ad166a2e7b1b99a3988c53512921bac9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// $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,
                               CORBA::Environment & = TAO_default_environment())
    throw (Quoter::Invalid_Stock_Symbol);

private:
  Quoter_Stock_i rhat_;
  Quoter_Stock_i msft_;
};

#endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_FACTORY_I_H */