Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / examples / Callback_Quoter / Consumer.idl
blob7223f23c9fd23ed235309235af11d6498d96cbd2
1 /* -*- C++ -*- */
2 #if !defined (_CONSUMER_IDL)
3 #define _CONSUMER_IDL
5 /// This module contains the data structure defined to store
6 /// information and the consumer interface.
7 module Callback_Quoter
9 // Requested stock does not exist.
10 exception Invalid_Stock
12 /// The message which declares the reason for this exception.
13 string reason;
16 /// Requested object does not exist.
17 exception Invalid_Handle
19 /// The actual reason which caused the exception.
20 string reason;
23 /// The information passed by the Notifier to the consumer.
24 struct Info
26 /// This is the name of the stock about whom the consumer
27 /// is seeking information.
28 string stock_name;
30 /// This is the market price of the stock.
31 long value;
34 /// The Consumer interface which is utilized by the Notifier
35 /// to pass information to the consumer.
36 interface Consumer
38 /// Notifier sends data to the consumer.
39 void push (in Callback_Quoter::Info data);
41 /// the process shuts down.
42 void shutdown ();
46 #endif /* _CONSUMER_IDL */