blob: e90daec3a18736c57cd7dae31d1ea354630aa665 (
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
|
// $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);
};
};
|