test.idl

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

IDL
39
字号
// test.idl,v 1.2 2002/01/22 17:10:12 parsons Exp
//
// ============================================================================
//
// = LIBRARY
//    TAO/tests/NestedUpcall
//
// = FILENAME
//    test.idl
//
// = DESCRIPTION
//    A simple test of nested upcalls.
//
// = AUTHOR
//    Irfan Pyarali
//
// ============================================================================

interface client
{
  void ping (in unsigned short time_to_live);
  // Decrements <time_to_live>.  If <time_to_live> becomes zero, it
  // stops. Otherwise, it pings the server.
};

interface server
{
  void start (in client c,
              in unsigned short time_to_live);
  // Turns around and starts pinging the client.

  void ping (in unsigned short time_to_live);
  // Decrements <time_to_live>.  If <time_to_live> becomes zero, it
  // stops. Otherwise, it pings the client.

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

⌨️ 快捷键说明

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