test.idl

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

IDL
43
字号
// test.idl,v 1.2 2003/10/28 18:30:57 bala Exp

// ============================================================================
//
// = LIBRARY
//    TAO/tests/Portable_Interceptors
//
// = FILENAME
//    test.idl
//
// = DESCRIPTION
//   Simple IDL file to test portable interceptor support.
//
// = AUTHORS
//   Nanbor Wang <nanbor@cs.wustl.edu>
//
// ============================================================================

module Test_Interceptors
{
  exception Silly
    {};

  interface Visual
  {
    void normal (in long arg);
    // Normal operation.

    long calculate (in long one, in long two);
    // Normal operation with a return val.

    void user ()
      raises (Silly);
    // throws a user exception.

    void system ();
    // thows a system exception.

   oneway void shutdown ();
    // shutdown the ORB
  };
};

⌨️ 快捷键说明

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