Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2804_Regression / Test.idl
blob5189da4c628a4615eab38473db3a9372d082d6ad
2 #include "tao/OctetSeq.pidl"
4 /// Put the interfaces in a module, to avoid global namespace pollution
5 module Test
7 exception Recursive_Type_In_Any_Test_Failed {};
8 exception Demarshaling_From_Any_Failed {};
10 enum ValueSort3 {
11 SYMBOL_TYPE,
12 SYMBOL_SEQ_TYPE
15 struct Symbol;
16 typedef sequence<Symbol> SymbolSeq;
18 struct Symbol {
19 SymbolSeq args;
22 union NonRecursiveUnionWithStringStruct3 switch (ValueSort3) {
23 case SYMBOL_TYPE:
24 Symbol symbol_val;
25 case SYMBOL_SEQ_TYPE:
26 SymbolSeq symbol_seq_val;
29 /// Simple test interface.
30 interface Hello
32 /// Return the any provided as the "in" argument.
33 any get_any (in any the_any);
35 /// Shutdown the server ORB.
36 oneway void shutdown ();