summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/ami4ccm/examples/Hello/Base/Hello.idl
diff options
context:
space:
mode:
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
+