Update storeforward.proto

pull/55/head
Jm Casler 2021-12-08 17:04:10 -08:00
rodzic 6fabb92e29
commit dec2b3b50e
1 zmienionych plików z 34 dodań i 0 usunięć

Wyświetl plik

@ -17,8 +17,14 @@ message StoreAndForward {
*/ */
UNSET = 0; UNSET = 0;
/*
* Router is an in error state.
*/
ROUTER_ERROR = 1; ROUTER_ERROR = 1;
/*
* Router heartbeat
*/
ROUTER_HEARTBEAT = 2; ROUTER_HEARTBEAT = 2;
/* /*
@ -37,6 +43,14 @@ message StoreAndForward {
*/ */
ROUTER_BUSY = 5; ROUTER_BUSY = 5;
/*
* Router is responding to a request for history.
*/
ROUTER_HISTORY = 6;
/*
* Client is an in error state.
*/
CLIENT_ERROR = 101; CLIENT_ERROR = 101;
/* /*
@ -60,6 +74,11 @@ message StoreAndForward {
*/ */
CLIENT_PONG = 105; 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; 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; RequestResponse rr = 1;
@ -134,4 +166,6 @@ message StoreAndForward {
History history = 3; History history = 3;
Heartbeat heartbeat = 4;
} }