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.
11 #ifndef QUOTER_BROKER_IDL
12 #define QUOTER_BROKER_IDL
15 #include
"Distributor.idl"
21 * @brief Provides interfaces for stock broker clients.
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
();
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
);