summaryrefslogtreecommitdiffstats
path: root/domino-cli.thrift
blob: 04691eabbeeacc9f798f95f15a55d959d6e1ea86 (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
39
/**
 * Thrift types:
 *
 *  bool        Boolean, one byte
 *  byte        Signed byte
 *  i16         Signed 16-bit integer
 *  i32         Signed 32-bit integer
 *  i64         Signed 64-bit integer
 *  double      64-bit floating point value
 *  string      String
 *  binary      Blob (byte array)
 *  map<t1,t2>  Map from one type to another
 *  list<t1>    Ordered list of one type
 *  set<t1>     Set of unique elements of one type
 *
 */


namespace cpp dominoCLI
namespace py dominoCLI
namespace java dominoCLI


/**
* Domino sends periodic heartbeats from 
* Domino Clients and Domino Server echos
*/
struct CLIMessage {
 1: list<string> CLI_input
}

struct CLIResponse {
 1: list<string> CLI_response
}

service DominoClientCLI {

   CLIResponse d_CLI(1:CLIMessage msg),
}