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

📄 test.idl

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 IDL
字号:
//
// Test.idl,v 1.1 2003/06/19 00:07:29 dengg Exp
//

/// A simple module to avoid namespace pollution
module Test
{
  /// Use a timestamp to measure the roundtrip delay
  typedef unsigned long long Timestamp;

  typedef sequence<octet> octet_load;
  typedef sequence<long> long_load;
  typedef sequence<char> char_load;
  typedef sequence<short> short_load;
  typedef sequence<long long> longlong_load;
  typedef sequence<double> double_load;

  /// Measure roundtrip delay
  interface Roundtrip
  {
    /// A simple method to measure roundtrip delays
    /**
     * The operation simply returns one of its argument, this is used
     * in AMI  and deferred synchronous tests to measure the roundtrip
     * delay without the need for a different reply handler for each
     * request.
     */
    Timestamp test_octet_method (in octet_load ol,
                                 in Timestamp send_time);

    Timestamp test_long_method (in long_load ol,
                                in Timestamp send_time);

    Timestamp test_short_method (in short_load ol,
                                 in Timestamp send_time);

    Timestamp test_char_method (in char_load ol,
                                in Timestamp send_time);

    Timestamp test_longlong_method (in longlong_load ol,
                                    in Timestamp send_time);

    Timestamp test_double_method (in double_load ol,
                                 in Timestamp send_time);

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

⌨️ 快捷键说明

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