/* Quote.idl This module describes the Corba Stock creation application framework (whow!). It contains a Stock object and a factory object for it. Author: Ingo Kloeckl */ /* the module name will be translated into a C++ namespace */ module Quote { exception InvalidStockSymbol{}; /* this is a forward declaration of the interface */ interface Stock; /* a real interface for the server application */ interface Stock_Factory { Stock getStock(in string symbol) raises (InvalidStockSymbol); void shutdown(); }; /* interface for a single stock (will be created by the factory, but this fact does not influence this interface) */ interface Stock { double price(); readonly attribute string name; readonly attribute string symbol; void destroy(); }; };