2 #if
!defined
(_NOTIFIER_IDL
)
5 #include
"Consumer.idl"
7 /// The Notifier interface in the Callback_Quoter example which
8 /// contains the methods by which the consumer can register,
9 /// unregister from the Notifier.
12 /// Register a distributed callback handler that is invoked when the
13 /// given stock reaches the desired threshold value.
14 void register_callback
(in string stock_name
,
15 in long threshold_value
,
16 in Callback_Quoter
::Consumer consumer_handler
)
17 raises
(Callback_Quoter
::Invalid_Stock
);
19 /// Remove the handler.
20 void unregister_callback
(in Callback_Quoter
::Consumer consumer_handler
)
21 raises
(Callback_Quoter
::Invalid_Handle
);
23 /// Get market status.
24 void market_status
(in string stock_name
,
27 /// Shuts the server down.
31 #endif
/* _NOTIFIER_IDL */