2 #ifndef TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
3 #define TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H
8 class Quoter_Stock_i
: public POA_Quoter::Stock
{
10 Quoter_Stock_i (const char *symbol
,
11 const char *full_name
,
16 CORBA::Double
price ();
17 Quoter::Stock::StockHistory
* history ();
19 static void set_default_POA (PortableServer::POA_ptr poa
)
21 Quoter_Stock_i::_poa
= PortableServer::POA::_duplicate (poa
);
23 virtual PortableServer::POA_ptr
_default_POA ()
25 return PortableServer::POA::_duplicate (Quoter_Stock_i::_poa
.in ());
30 std::string full_name_
;
33 static PortableServer::POA_var _poa
;
36 #endif /* TAO_TUTORIAL_QUOTER_SIMPLE_SERVER_STOCK_I_H */