summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-04-12 14:11:44 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-04-12 14:11:44 +0000
commite30c0be78e222e708fc5010c5b678a72fc8ca4be (patch)
treefe2dde0d9d3e5aba67984c94c561b7f70f5a2cde /modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
parent7627760802fdf292403c971e81c2dd113ebf4912 (diff)
downloadATCD-e30c0be78e222e708fc5010c5b678a72fc8ca4be.tar.gz
branching/tagging
Diffstat (limited to 'modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl')
-rw-r--r--modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl36
1 files changed, 36 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl b/modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
new file mode 100644
index 00000000000..856056f807a
--- /dev/null
+++ b/modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
@@ -0,0 +1,36 @@
+// $Id$
+
+#ifndef HELLO_IDL
+#define HELLO_IDL
+
+#pragma ciao lem "Base/HelloE.idl"
+#pragma ciao ami4ccm interface "Hello::MyFoo"
+#pragma ciao lem "Base/HelloAE.idl"
+
+module Hello
+{
+ exception InternalError
+ {
+ long id;
+ string error_string;
+ };
+
+ // Sender/Receiver interface
+ interface MyFoo
+ {
+ long foo (in string in_str, out string answer)
+ raises (InternalError);
+ void hello (out long answer)
+ raises (InternalError);
+
+ attribute short rw_attrib
+ getraises (InternalError)
+ setraises (InternalError);
+
+ readonly attribute short ro_attrib
+ raises (InternalError);
+ };
+};
+
+#endif
+