test.idl

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

IDL
52
字号
// -*- IDL -*-
//
// test.idl,v 1.4 2000/11/22 17:26:48 othman Exp

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

module Test_Interceptors
{
  exception Invalid {};

  interface Secure_Vault
  {
    // = TITLE
    //   A test idl for checking interceptor with the aim of
    //   performing benchmarks.
    //
    // = DESCRIPTION
    //   A secure vault into which one can store transaction details.

    struct Record
    {
      long check_num;
      long amount;
    };

    short ready ();
    // No args/exceptions operation.

    void authenticate (in string user) raises (Invalid);
    // throws a user exception.

    long update_records (in long id, in Record val);
    // Normal operation with a return val.

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

⌨️ 快捷键说明

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