test.idl

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

IDL
43
字号
//
// Test.idl,v 1.1 2001/03/10 00:13:04 coryan Exp
//

module Test
{
  /**
   * Callback interface used to test the behavior of the ORB under
   * crashes.
   */
  interface Crashed_Callback
  {
    /// Make sure the callback object is still in good shape
    /**
     * The server needs to verify that at least some requests worked
     * before trying to test the behavior of the ORB after a crash.
     */
    boolean are_you_there ();

    /// Force an abort() on the process implementing the callback
    /// interface
    oneway void crash_now_please ();

    /// Receive the first callback
    oneway void test_oneway ();
  };

  /**
   * Clients connect to this interface passing in a Crashed_Callback
   * object.
   * The service will then invoke all the methods on the
   * Crashed_Callback, and verify that only exceptions are raised
   * after invoking @c crash_now_please()
   *
   */
  interface Service
  {
    /// Invoke the callback object from the server
    oneway void run_test (in Crashed_Callback the_callback);
  };

};

⌨️ 快捷键说明

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