summaryrefslogtreecommitdiff
path: root/CIAO/connectors/ami4ccm/tests/SimplexMulti/Base/UsesSM.idl
blob: 8604dd12be7c23df028d1f2981e3acc07f1bcfd9 (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
// $Id$

#ifndef USESSM_IDL
#define USESSM_IDL

#pragma ciao lem "Base/UsesSME.idl"
#pragma ciao ami4ccm interface "UsesSM::One"
#pragma ciao ami4ccm interface "UsesSM::Two"
#pragma ciao lem "Base/UsesSMAE.idl"
//needed for uses multiple
#pragma ciao ami4ccm idl "Base/UsesSMA.idl"

module UsesSM
{
  exception InternalError
    {
      long id;
      string error_string;
    };

  // Sender/Receiver interfaces
  interface One
    {
      long foo (in string in_str, in long cmd, out string answer)
        raises (InternalError);
    };
  interface Two
    {
      void bar (in long cmd, out string answer)
        raises (InternalError);
    };
};

#endif