test.idl

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

IDL
37
字号
// -*- IDL -*-

//=============================================================================
/**
 * @file test.idl
 *
 * test.idl,v 1.1 2001/04/09 23:27:06 othman Exp
 *
 * IDL file to test request interceptor flow.
 *
 * @author Ossama Othman <ossama@uci.edu>
 */
//=============================================================================

interface Test
{
  typedef short TestScenario;

  /// Dummy exception used during the test.
  exception X {};

  /// Unknown scenario number was passed to the test operation.
  exception UnknownScenario {
    TestScenario scenario;
  };

  /// The client-side test operation.
  void client_test (in TestScenario scenario) raises (X, UnknownScenario);

  /// The server-side test operation.
  void server_test (in TestScenario scenario) raises (X, UnknownScenario);

  /// Shutdown the server.
  oneway void shutdown ();

};

⌨️ 快捷键说明

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