grpc: implemened initial support for streaming emane pathloss events

This commit is contained in:
Blake Harnden 2020-06-03 14:35:17 -07:00
parent 7048aa7867
commit 3b0ca1638c
6 changed files with 85 additions and 3 deletions

View file

@ -149,6 +149,8 @@ service CoreApi {
}
rpc GetEmaneEventChannel (emane.GetEmaneEventChannelRequest) returns (emane.GetEmaneEventChannelResponse) {
}
rpc EmanePathlosses (stream emane.EmanePathlossesRequest) returns (emane.EmanePathlossesResponse) {
}
// xml rpc
rpc SaveXml (SaveXmlRequest) returns (SaveXmlResponse) {

View file

@ -90,3 +90,16 @@ message EmaneModelConfig {
string model = 3;
map<string, string> config = 4;
}
message EmanePathlossesRequest {
int32 session_id = 1;
int32 node_one = 2;
float rx_one = 3;
int32 interface_one_id = 4;
int32 node_two = 5;
float rx_two = 6;
int32 interface_two_id = 7;
}
message EmanePathlossesResponse {
}