summaryrefslogtreecommitdiffstats
path: root/domino.thrift
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-12-01 12:12:03 -0800
committerUlas Kozat <ulas.kozat@gmail.com>2016-12-01 12:12:03 -0800
commit7ad811e8d76d004cc55a7b4a4cc8637df260e42d (patch)
tree247b6c4fa870673cb23005cd4c2ff4e76d62f6d4 /domino.thrift
parent96af8475e3db496be22d2ede78081c1c67a51f96 (diff)
JIRA Issue DOMINO-24
Change-Id: Id45f86b7b8f88dcdcdc724942c5109eaf1d3d193 Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'domino.thrift')
-rw-r--r--domino.thrift24
1 files changed, 12 insertions, 12 deletions
diff --git a/domino.thrift b/domino.thrift
index 72fb37f..a3335ca 100644
--- a/domino.thrift
+++ b/domino.thrift
@@ -100,7 +100,7 @@ exception InvalidOperation {
*/
struct HeartBeatMessage {
1: MessageType messageType = HEART_BEAT,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no
}
@@ -112,7 +112,7 @@ struct HeartBeatMessage {
struct RegisterMessage {
1: MessageType messageType = REGISTER,
- 2: i64 domino_udid_desired,
+ 2: string domino_udid_desired,
3: i64 seq_no,
4: string ipaddr,
5: i16 tcpport,
@@ -121,8 +121,8 @@ struct RegisterMessage {
struct RegisterResponseMessage {
1: MessageType messageType = REGISTER_RESPONSE,
- 2: i64 domino_udid,
- 3: i64 domino_udid_assigned,
+ 2: string domino_udid,
+ 3: string domino_udid_assigned,
4: i64 seq_no,
5: ResponseCode responseCode,
6: optional list<string> comments
@@ -130,7 +130,7 @@ struct RegisterResponseMessage {
struct SubscribeMessage {
1: MessageType messageType = SUBSCRIBE,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: byte template_op,
5: list<string> supported_template_types,
@@ -140,7 +140,7 @@ struct SubscribeMessage {
struct SubscribeResponseMessage {
1: MessageType messageType = SUBSCRIBE_RESPONSE,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: ResponseCode responseCode,
5: optional list<string> comments
@@ -148,7 +148,7 @@ struct SubscribeResponseMessage {
struct PublishMessage {
1: MessageType messageType = PUBLISH,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: string template_type,
5: list<string> template
@@ -156,7 +156,7 @@ struct PublishMessage {
struct PublishResponseMessage {
1: MessageType messageType = PUBLISH_RESPONSE,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: ResponseCode responseCode,
5: optional list<string> comments
@@ -164,7 +164,7 @@ struct PublishResponseMessage {
struct PushMessage {
1: MessageType messageType = PUSH,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: string template_type,
5: list<string> template
@@ -172,7 +172,7 @@ struct PushMessage {
struct PushResponseMessage {
1: MessageType messageType = PUSH_RESPONSE,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: ResponseCode responseCode,
5: optional list<string> comments
@@ -180,14 +180,14 @@ struct PushResponseMessage {
struct QueryMessage{
1: MessageType messageType = QUERY,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: list<string> queryString
}
struct QueryResponseMessage{
1: MessageType messageType = QUERY_RESPONSE,
- 2: i64 domino_udid,
+ 2: string domino_udid,
3: i64 seq_no,
4: ResponseCode responseCode,
5: optional list<string> queryResponse,