Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / examples / LoadBalancing / Test.idl
blob0d2553df8c253ef508932e8717fbe67b7bf41df1
2 module Test
4 exception Invalid_Stock_Symbol {};
5 // Used to report an invalid stock name
7 // Forward declare the Stock interface
8 interface Stock;
10 interface StockFactory
12 // = TITLE
13 // A factory class for the stock interfaces
15 // = DESCRIPTION
16 // Return the Stock interfaces based on their names
18 Stock get_stock (in string stock_symbol)
19 raises (Invalid_Stock_Symbol);
21 oneway void shutdown ();
25 interface Stock
27 // = TITLE
28 // A simple interface to query the name and price of stock
30 // = DESCRIPTION
31 // Return the price and name of a single stock
34 readonly attribute string symbol;
35 // Get the stock symbol.
37 readonly attribute string full_name;
38 // Get the name.
40 double price ();
41 // Get the price