gperf.idl

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

IDL
99
字号
// gperf.idl,v 1.1 2001/07/31 15:46:51 parsons Exp

// ============================================================================
//
// = LIBRARY
//    TAO/tests/IDL_Test
//
// = FILENAME
//    gperf.idl
//
// = DESCRIPTION
//    This file contains examples of IDL code that has 
//    caused problems in the past for the TAO IDL
//    compiler. This test is to make sure the problems
//    stay fixed.
//
// = AUTHORS
//    Jeff Parsons <parsons@cs.wustl.edu> and TAO users.
//
// ============================================================================

// The examples below uncovered some bugs in gperf,
// in the form of runtime errors when clients made
// requests on some of the methods, for example

//       TAO_Perfect_Hash_Table:find failed
//       Bad operation <ackConfArchData>


enum TestEnum
{
  first,
  second,
  third
};

interface testlistitem
{
  readonly attribute string name;
};


interface test
{
  attribute string stest;
#ifndef WITHOUT_CORBA_WSTRING
  attribute wstring wstest;
#else
  attribute string wstest;
#endif
#ifndef WITHOUT_CORBA_LONGLONG
  attribute long long ltest;
#else
  attribute long ltest;
#endif
#ifndef WITHOUT_CORBA_LONGDOUBLE
  attribute long double ldtest;
#else
  attribute double ldtest;
#endif
  attribute TestEnum etest;
#ifndef WITHOUT_CORBA_WSTRING
  attribute wstring setest;
#else
  attribute string setest;
#endif
  attribute testlistitem tltest;

  testlistitem new_testlistitem (in string name);
}; 

interface Simple_Server
{
 oneway void ackConfBasData ();

 oneway void ackConfMosData ();
 oneway void ackConfTwmData ();
 oneway void ackConfArchData ();
 oneway void ackConfVonData ();
 oneway void ackConfFftData ();
 oneway void ackConfSosData ();
 oneway void ackConfSscData ();
 oneway void ackConfCsData ();

 oneway void ackConfR10Data ();
 oneway void ackConfR11Data ();
 oneway void ackConfR12Data ();
 oneway void ackConfR13Data ();
 oneway void ackConfR14Data ();
 oneway void ackConfR15Data ();

 oneway void shutdown ();

 oneway void transferTriggerDb ();
 oneway void transferTriggerTdc ();
};
 

⌨️ 快捷键说明

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