JIRA DOMINO-22
[domino.git] / domino-cli.thrift
1 /**
2  * Thrift types:
3  *
4  *  bool        Boolean, one byte
5  *  byte        Signed byte
6  *  i16         Signed 16-bit integer
7  *  i32         Signed 32-bit integer
8  *  i64         Signed 64-bit integer
9  *  double      64-bit floating point value
10  *  string      String
11  *  binary      Blob (byte array)
12  *  map<t1,t2>  Map from one type to another
13  *  list<t1>    Ordered list of one type
14  *  set<t1>     Set of unique elements of one type
15  *
16  */
17
18
19 namespace cpp dominoCLI
20 namespace py dominoCLI
21 namespace java dominoCLI
22
23
24 /**
25 * Domino sends periodic heartbeats from 
26 * Domino Clients and Domino Server echos
27 */
28 struct CLIMessage {
29  1: list<string> CLI_input
30 }
31
32 struct CLIResponse {
33  1: list<string> CLI_response
34 }
35
36 service DominoClientCLI {
37
38    CLIResponse d_CLI(1:CLIMessage msg),
39 }