cubit.idl

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

IDL
40 行
字号
// cubit.idl,v 1.9 1998/09/16 00:30:14 schmidt Exp

interface Cubit
{
  // = TITLE
  //    Defines an interface that encapsulates operations that cube
  //    numbers.
  //
  // = DESCRIPTION
  //    This interface encapsulates operations that cube
  //    octets, shorts, longs, structs and unions.

  struct Many
  {
    octet o;            // + 3 bytes padding (normally) ...
    long l;
    short s;            // + 2 bytes padding (normally) ...
  };

  octet cube_octet (in octet o);
  // Cube an octet.

  short cube_short (in short s);
  // Cube a short.

  long cube_long (in long l);
  // Cube a long.

  Many cube_struct (in Many values);
  // Cube each of the members of a struct.

  oneway void noop ();
  // Null operation.

  oneway void shutdown ();
  // shut down the application

};

⌨️ 快捷键说明

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