test.idl

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

IDL
27
字号
//
// Test.idl,v 1.2 2001/04/24 08:02:58 coryan Exp
//

module Test
{
  typedef sequence<octet> Payload;

  /// An interface to test the SYNC_NONE semantics
  interface Blocking_Sync_None
  {
    /// Receives a potentially big payload, and then
    /// blocks for a user specified time.
    /**
     * If SYNC_NONE is implemented correctly multiple calls to this
     * method should not block.  However, if the semantics are wrong
     * the method will block for as long as the previous request sleep
     * time is.
     */
    oneway void slow_operation (in Payload the_payload,
                                in unsigned long sleep_microseconds);

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

⌨️ 快捷键说明

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