diff options
author | 2016-05-27 23:26:54 -0700 | |
---|---|---|
committer | 2016-05-27 23:26:54 -0700 | |
commit | b1486d4aeb0e37e0cb8fd31110af1e52d9a155fe (patch) | |
tree | 72023b56eff903a4681e4ca74bd02f28f83e7dfb /domino-cli.thrift | |
parent | 4435444272ac1849ef3a2dc3dca7931fabfd98cb (diff) |
refactored codes, added standalone CLI client, option of interactive vs. standalone CLI
Change-Id: I262aaf4f5908c0d9b7eae87699c49ba385437589
Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'domino-cli.thrift')
-rw-r--r-- | domino-cli.thrift | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/domino-cli.thrift b/domino-cli.thrift new file mode 100644 index 0000000..e21c0ec --- /dev/null +++ b/domino-cli.thrift @@ -0,0 +1,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: string CLI_response +} + +service DominoClientCLI { + + CLIResponse d_CLI(1:CLIMessage msg), +} |