Merge pull request #55 from mc-hamster/master

Update storeforward.proto
pull/56/head^2
Jm Casler 2021-12-08 17:05:04 -08:00 zatwierdzone przez GitHub
commit f9fed7a630
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 34 dodań i 0 usunięć

Wyświetl plik

@ -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;
}