test.idl

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

IDL
48
字号
//
// Test.idl,v 1.3 2001/03/29 15:50:18 coryan Exp
//

module Test
{
  /// Forward declare the Process interface
  interface Process;

  /// The process factory cannot create a new process
  exception Spawn_Failed {};

  /// A factory for processes
  /**
   *  The client creates multiple processes using this interface, then
   * it tries to crash the process and verify that it can work
   * correctly in that scenario.
   */
  interface Process_Factory
  {
    /// Create a new process and return its object reference
    Process create_new_process () raises (Spawn_Failed);

    /// Empty method, used to validate the connection
    void noop ();

    /// Shutdown the process factory
    oneway void shutdown ();
  };

  /// An interface to communicate and shutdown a process
  interface Process
  {
    /// Return the process id
    long get_process_id ();

    /// Shutdown the process
    oneway void shutdown ();
  };

  /// Used by the Process Factory to receive the IOR of newly created
  /// processes
  interface Startup_Callback
  {
    void started (in Process the_process);
  };
};

⌨️ 快捷键说明

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