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

📄 test.idl

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

/// Put the interfaces in a module, to avoid global namespace pollution
module Test
{
  /// A sequence of octets to generate bigger messages
  typedef sequence<octet> Payload;

  /// Clients use this interface to send oneway requests
  interface Oneway_Buffering
  {
    /// Return a simple string
    oneway void receive_data (in Payload the_payload);

    /// An empty operation to force a flush in the ORB queues
    oneway void flush ();

    /// Synchronize the state with the Admin object.
    /**
     * Once flush() has been invoked (with the correct buffering
     * policies) we must use sync() to ensure that both the main
     * server and the Admin servers are in sync.
     */
    void sync ();

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

  /// Clients use this interface to query the number of oneway
  /// requests received.
  interface Oneway_Buffering_Admin
  {
    /// Number of oneway requests received
    unsigned long request_count ();

    /// Number of bytes received
    unsigned long bytes_received_count ();

    /// The Oneway_Buffering interface uses this method to report any
    /// request received.
    void request_received (in unsigned long payload_length);

    /// An empty operation to force a flush in the ORB queues
    void flush ();

    /// A method to shutdown the ORB
    /**
     * This method is used to simplify the test shutdown process
     */
    void shutdown ();
  };
};

⌨️ 快捷键说明

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