2 #if
!defined
(_NOTIFIER_IDL
)
5 #include
"Consumer.idl"
10 // The Notifier interface in the Callback_Quoter example which
11 // contains the methods by which the consumer can register,
12 // unregister from the Notifier.
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
);
18 // Register a distributed callback handler that is invoked when the
19 // given stock reaches the desired threshold value.
21 void unregister_callback
(in Callback_Quoter
::Consumer consumer_handler
)
22 raises
(Callback_Quoter
::Invalid_Handle
);
23 // Remove the handler.
25 void market_status
(in string stock_name
,
30 // Shuts the server down.
33 #endif
/* _NOTIFIER_IDL */