summaryrefslogtreecommitdiffstats
path: root/domino-cli.thrift
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-06-01 16:21:13 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-01 16:21:13 +0000
commitba0d2a3caab1de4d20ff4f43318d9b24732e33cf (patch)
tree81d2ad5b11d6b410ef9bdae0cbe183d421d9c99e /domino-cli.thrift
parent70dd36828ef1efca9204c15deacea25bc69a8709 (diff)
parentb1486d4aeb0e37e0cb8fd31110af1e52d9a155fe (diff)
Merge "refactored codes, added standalone CLI client, option of interactive vs. standalone CLI"
Diffstat (limited to 'domino-cli.thrift')
-rw-r--r--domino-cli.thrift39
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),
+}