summaryrefslogtreecommitdiff
path: root/modules/CIAO/tests/AMI_CCM/Hello_Base/Hello_Base.idl
blob: dd8366dda3c74ab8b708d4c05ac035960a78da99 (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
// $Id$

module CCM_AMI
{
   exception InternalError {
      long id;
      string error;
  };

  // Sender/Receiver interface
  interface AMI_foo
    {
      long asynch_foo (in string in_str, out string answer)
        raises (InternalError);
    };

  // callback interface from AMI-component to Sender component
  interface AMI_foo_callback
    {
      void foo_callback_handler (in long result, in string answer);
      void foo_callback_excep (in string callback_exception);
    };

  // AMI component. Sender calls AMI-component and AMI-component calls Receiver
  // using the AMI_foo interface.
  interface AMI_ami_foo
    {
      void sendc_asynch_foo (in string in_str, in AMI_foo_callback foo_callback);
    };
};