summaryrefslogtreecommitdiff
path: root/TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl')
-rw-r--r--TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl54
1 files changed, 0 insertions, 54 deletions
diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl b/TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl
deleted file mode 100644
index 34d81177658..00000000000
--- a/TAO/docs/tutorials/Quoter/RT_Event_Service/Quoter.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// $Id$
-//
-
-module Quoter
-{
- exception Invalid_Stock_Symbol {};
- // Used to report an invalid stock name
-
- // Forward declare the Stock interface
- interface Stock;
-
- interface Stock_Factory
- {
- // = TITLE
- // A factory class for the stock quoter interfaces
- //
- // = DESCRIPTION
- // Return the Quoter interfaces based on their names
- //
- Stock get_stock (in string stock_symbol)
- raises (Invalid_Stock_Symbol);
- };
-
- interface Stock
- {
- // = TITLE
- // A simple interface to query the name and price of stock
- //
- // = DESCRIPTION
- // Return the price and name of a single stock
- //
-
- readonly attribute string symbol;
- // Get the stock symbol.
-
- readonly attribute string full_name;
- // Get the name.
-
- double price ();
- // Get the price
-
- };
-
- struct Event {
- double price;
- string symbol;
- string full_name;
- };
-
- interface Modify_Stock : Stock {
- void set_price (in double new_price);
- };
-};