Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / docs / tutorials / Quoter / RTCORBA / Broker.idl
bloba5c0fd58c38ed5a6d5b1733ea561b4ffad21c039
1 /**
2 * @file Broker.idl
3 * @author Shanshan Jiang <shanshan.jiang@vanderbilt.edu>
4 * @author William R. Otte <wotte@dre.vanderbilt.edu>
5 * @author Douglas C. Schmidt <schmidt@dre.vanderbilt.edu>
7 * Contains IDL definitions for the Stock Broker in the Publish/Subscribe Real-time CORBA
8 * Stock Quoter Service.
9 */
11 #ifndef QUOTER_BROKER_IDL
12 #define QUOTER_BROKER_IDL
14 #include "Common.idl"
15 #include "Distributor.idl"
17 module Stock
19 /**
20 * @class StockBroker
21 * @brief Provides interfaces for stock broker clients.
23 interface StockBroker
25 /// Factory operation to return StockNameConsumer object reference.
26 StockNameConsumer get_consumer_notifier ();
28 /// Connects the broker to a supplied Quoter object reference.
29 void connect_quoter_info (in StockQuoter c);
31 /// Disconnects a the quoter connection.
32 StockQuoter disconnect_quoter_info ();
34 /// Gets the current quoter connection.
35 StockQuoter get_connection_quoter_info ();
37 /// Shutdown the object and terminate the application
38 oneway void shutdown ();
41 /**
42 * @class StockBrokerHome
43 * @brief Interface that aids in managing StockBroker lifecycles.
45 interface StockBrokerHome
47 /// Create a StockBroker object.
48 StockBroker create (in StockDistributor dist,
49 in string stock_name);
53 #endif