blob: 95ed42f9ec5595f52da384a248728489ec1494fe (
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
38
|
module org.example 1.0;
/**
* @brief Provide a simple echo service.
*/
interface Echo {
/**
* @brief The last echo message.
*/
readonly string currentMessage;
/**
* @brief Returns the passed in message
*/
void echo(Message message);
}
/**
* @brief A message structure to send and receive
*/
struct Message {
/**
* @brief the text to send
*/
string text;
}
/**
* @brief Status
*/
enum Status {
/**
* @brief Nothing loaded yet
*/
Null,
Loading,
Ready,
Error
}
|