⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.idl

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 IDL
字号:
// -*- IDL -*-
// test.idl,v 1.4 2003/10/28 18:30:57 bala Exp

// ===================================================================
/**
 *  @file   test.idl
 *
 *  test.idl,v 1.4 2003/10/28 18:30:57 bala Exp
 *
 *  Simple IDL file to test portable interceptor support.
 *
 *  @author Nanbor Wang <nanbor@cs.wustl.edu>
 *  @author Ossama Othman <ossama@dre.vanderbilt.edu>
 */
// ===================================================================

module Test_Interceptors
{
  exception Silly {};

  /**
   * @class Visual
   *
   * @brief Test interface for checking interceptor visually.
   *
   * Test interface for checking interceptor visually.
   */
  interface Visual
  {
    /**
     * @class VarLenStruct
     *
     * @brief Variable length structure
     *
     * This structure is designed to exercise memory management in the
     * @c PortableInterceptor::RequestInfo::result() method.
     */
    struct VarLenStruct
    {
      octet  flag;
      string message;
    };

    /// Normal operation.
    void normal (in long arg, out string msg);

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

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

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

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

⌨️ 快捷键说明

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