blob: ae50eec2191ad96c8bd24236084c4db099d6820b (
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
|
#ifndef ONEREPLYH_T_IDL
#define ONEREPLYH_T_IDL
#pragma ciao lem "Base/OneReplyHE.idl"
#pragma ciao ami4ccm interface "OneReplyH::MyFoo"
#pragma ciao lem "Base/OneReplyHAE.idl"
#pragma ciao ami4ccm idl "Base/OneReplyHA.idl"
module OneReplyH
{
const short cmd_synch_foo_ok = 1;
const short cmd_synch_foo_nok = 2;
const short cmd_asynch_foo_ok = 3;
const short cmd_asynch_foo_nok = 4;
const short cmd_synch_bar_ok = 5;
const short cmd_synch_bar_nok = 6;
const short cmd_asynch_bar_ok = 7;
const short cmd_asynch_bar_nok = 8;
exception InternalError
{
long id;
string error_string;
};
// Sender/Receiver interface
interface MyFoo
{
long foo (in string in_str, in long cmd, out string answer)
raises (InternalError);
void bar (in string in_str, in long cmd, out string answer, out long l_cmd)
raises (InternalError);
};
};
#endif
|