From dec2b3b50eb4567578cee3be144d363414e8c762 Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Wed, 8 Dec 2021 17:04:10 -0800 Subject: [PATCH] Update storeforward.proto --- storeforward.proto | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/storeforward.proto b/storeforward.proto index 6a073a1..a80c06c 100644 --- a/storeforward.proto +++ b/storeforward.proto @@ -17,8 +17,14 @@ message StoreAndForward { */ UNSET = 0; + /* + * Router is an in error state. + */ ROUTER_ERROR = 1; + /* + * Router heartbeat + */ ROUTER_HEARTBEAT = 2; /* @@ -37,6 +43,14 @@ message StoreAndForward { */ ROUTER_BUSY = 5; + /* + * Router is responding to a request for history. + */ + ROUTER_HISTORY = 6; + + /* + * Client is an in error state. + */ CLIENT_ERROR = 101; /* @@ -60,6 +74,11 @@ message StoreAndForward { */ CLIENT_PONG = 105; + /* + * Client has requested that the router abort processing the client's request + */ + CLIENT_ABORT = 106; + } @@ -125,8 +144,21 @@ message StoreAndForward { */ uint32 Window = 2; + /* + * The window of messages that was used to filter the history client requested + */ + uint32 LastRequest = 3; + } + message Heartbeat { + + /* + * Number of that will be sent to the client + */ + uint32 heartbeatPeriod = 1; + + } RequestResponse rr = 1; @@ -134,4 +166,6 @@ message StoreAndForward { History history = 3; + Heartbeat heartbeat = 4; + }