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

📄 callback.idl

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻 IDL
字号:
//
// callback.idl,v 1.2 2001/02/13 17:24:34 coryan Exp
//

/// A module to keep the namespace clean
module Test {

  /// Use 64-bit unsigned longs for the time stamps, most of the time
  /// we stick the native high resolution timer value there.
  typedef unsigned long long TimeStamp;

  /// Simulated 
  typedef sequence<octet> Payload;

  /// Define the callback interface
  interface Callback {
    oneway void response (in TimeStamp time_stamp,
                          in Payload message_payload);
  };

  /// Define the server interface
  interface Server {

    /// Save the callback object for later use
    void set_callback (in Callback callback_object);

    /// Send a request, the Callback::response method is invoked with
    /// the @param time_stamp value
    oneway void request (in TimeStamp time_stamp,
                         in Payload message_payload);

    /// Shutdown the server, just to make cleanup simpler.
    oneway void shutdown ();
  };
};

⌨️ 快捷键说明

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