Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / OctetSeq / test.idl
blobceaa848800ea3db735a8ecdcf8fe59351045c29d
2 //=============================================================================
3 /**
4 * @file test.idl
6 * Simple IDL file to test octet sequences.
9 * @author Carlos O'Ryan <coryan@cs.wustl.edu>
11 //=============================================================================
14 module Test
16 typedef sequence<octet> OctetSeq;
17 typedef sequence<char> CharSeq;
19 typedef unsigned short Index;
21 exception OutOfRange {
22 Index min_index;
23 Index max_index;
26 interface Database
28 // = TITLE
29 // A database of octet sequences
31 // = DESCRIPTION
32 // Just a silly IDL file to test if the ORB can hold octet
33 // sequences intact between calls. Regularly this wouldn't be a
34 // problem, but TAO optimizations for octet sequences make that
35 // a little trickier to ensure.
37 void set (in Index i,
38 in OctetSeq value,
39 in double verification_token,
40 out double returned_token)
41 raises (OutOfRange);
43 OctetSeq get (in Index i)
44 raises (OutOfRange);
46 unsigned long get_crc (in Index i)
47 raises (OutOfRange);
49 oneway void shutdown ();
50 // shutdown the ORB