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

module CCM_AMI
{
  typedef long Cookie;

  exception InternalError {
      long id;
      string error_string;
  };

  // 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 Cookie ck, in long result, in string answer);
      void foo_callback_excep (in Cookie ck, in string callback_exception);
    };

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