summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/SyncPortConn/Base/Hello.idl
blob: d6a7c4a2ec1b104e1841ae64f6c9344afe5b3400 (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
// $Id$

#ifndef HELLO_IDL
#define HELLO_IDL

#pragma ciao lem "Base/HelloE.idl"
#pragma ami4ccm interface "Hello::MyFoo"
#pragma ciao lem "Base/HelloAE.idl"
#pragma ami4ccm idl "Base/HelloA.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