diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 00:30:16 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-16 00:30:16 +0000 |
commit | eb149e5ee8c5ab50b523718cd1d64b0bd362eb8d (patch) | |
tree | 1212211db11a5219bd6b8b939280f9cfed404fb5 /TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl | |
parent | 063d1234fff71d1a0642c01d2e51ce8feff6dd0e (diff) | |
download | ATCD-eb149e5ee8c5ab50b523718cd1d64b0bd362eb8d.tar.gz |
*** empty log message ***
Diffstat (limited to 'TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl')
-rw-r--r-- | TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl b/TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl new file mode 100644 index 00000000000..41309e997ea --- /dev/null +++ b/TAO/performance-tests/Cubit/Orbix/factory_client/cubit.idl @@ -0,0 +1,48 @@ +// $Id$ + +// @(#)cubit.idl 1.1 95/09/10 +// Copyright 1994-1995 by Sun Microsystems, Inc. + +#pragma prefix "Eng.SUN.COM" +#pragma version Cubit 1.1 + + interface Cubit { + octet cube_octet (in octet o); + short cube_short (in short s); + long cube_long (in long l); + + struct Many { + octet o; // + 3 bytes padding (normally) ... + long l; + short s; // + 2 bytes padding (normally) ... + }; + + Many cube_struct (in Many values); + + enum discrim {e_0th, e_1st, e_2nd, e_3rd, e_4th, e_5th}; + + union oneof + switch (discrim) { + // this is an easy union to interpret; no padding + // is needed between discriminant and value. + case e_0th: + octet o; + case e_1st: + short s; + case e_2nd: + long l; + case e_3rd: + default: + Many cm; + }; + + oneof cube_union (in oneof values); + + oneway void please_exit (); + }; + + + interface Cubit_Factory { + Cubit create_cubit (in string name); + }; + |