blob: 493c026dd0c6045f12f7610c6e1f8cbdf6e395f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/tests/OctetSeq
//
// = FILENAME
// test.idl
//
// = DESCRIPTION
// Simple IDL file to test octet sequences.
//
// = AUTHORS
// Carlos O'Ryan <coryan@cs.wustl.edu>
//
// ============================================================================
module Test
{
typedef sequence<octet> OctetSeq;
typedef sequence<char> CharSeq;
typedef unsigned short Index;
exception OutOfRange {
Index min_index;
Index max_index;
};
interface Database
{
// = TITLE
// A database of octet sequences
//
// = DESCRIPTION
// Just a silly IDL file to test if the ORB can hold octet
// sequences intact between calls. Regularly this wouldn't be a
// problem, but TAO optimizations for octet sequences make that
// a little trickier to ensure.
//
void set (in Index i,
in OctetSeq value,
in double verification_token,
out double returned_token)
raises (OutOfRange);
OctetSeq get (in Index i)
raises (OutOfRange);
unsigned long get_crc (in Index i)
raises (OutOfRange);
oneway void shutdown ();
// shutdown the ORB
};
};
|