summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl')
-rw-r--r--modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl39
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl b/modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl
new file mode 100644
index 00000000000..e90daec3a18
--- /dev/null
+++ b/modules/CIAO/connectors/ami4ccm/examples/Hello_Base/Hello_Base.idl
@@ -0,0 +1,39 @@
+// $Id$
+
+#include "Hello.idl"
+
+module CCM_AMI
+{
+
+ // callback interface from AMI-component to Sender component
+ interface AMI_MyFoo_callback
+ {
+ void foo_callback_handler (in long result, in string answer);
+ void foo_callback_excep (in CCM_AMI::InternalException exception_holder);
+
+ void hello_callback_handler (in long answer);
+ void hello_callback_excep (in CCM_AMI::InternalException exception_holder);
+ };
+
+ // AMI component. Sender calls AMI-component and AMI-component calls Receiver
+ // using the AMI_foo interface.
+ // Example of a global reply handler
+ interface AMI_MyFoo
+ {
+ void sendc_foo (in string in_str);
+ void sendc_hello ();
+ };
+
+ // callback interface from AMI-component to Sender component
+ // Example of a reply handler per request.
+ interface AMI_MyInterface_callback
+ {
+ void do_something_with_something_callback_handler (in float result);
+ void do_something_with_something_callback_excep (in CCM_AMI::InternalException exception_holder);
+ };
+
+ interface AMI_MyInterface
+ {
+ void sendc_do_something_with_something (in AMI_MyInterface_callback cb_handler, in short something);
+ };
+};