notifier.idl

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· IDL 代码 · 共 36 行

IDL
36
字号
/* -*- C++ -*- */
// Notifier.idl,v 1.3 1998/11/10 05:46:28 kirthika Exp

#if !defined (_NOTIFIER_IDL)
#define _NOTTIFIER_IDL

#include "Consumer.idl"

interface Notifier
{
  // = TITLE
  //  The Notifier interface in the Callback_Quoter example which
  //  contains the methods by which the consumer can register,
  //  unregister from the Notifier.

  void register_callback (in string stock_name,
                          in long threshold_value,
                          in Callback_Quoter::Consumer consumer_handler)
    raises (Callback_Quoter::Invalid_Stock);
  // Register a distributed callback handler that is invoked when the
  // given stock reaches the desired threshold value.

  void unregister_callback (in Callback_Quoter::Consumer consumer_handler)
    raises (Callback_Quoter::Invalid_Handle);
  // Remove the handler.

  void market_status (in string stock_name,
                      in long stock_value);
  // Get market status.

   void shutdown ();
  // Shuts the server down.
};

#endif /* _NOTIFIER_IDL */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?