Functionality for a simple protocol agent exchanging echo_request/reply messages

This commit is contained in:
Nikos Makris
2016-09-05 14:28:58 +03:00
parent bc5e30318f
commit 70ad5d587e
24 changed files with 545 additions and 601 deletions
+15 -1
View File
@@ -6,6 +6,8 @@ message flexsplit_message {
optional flexsplit_direction msg_dir = 100;
oneof msg {
fsp_hello hello_msg = 1;
fsp_echo_request echo_request_msg = 2;
fsp_echo_reply echo_reply_msg = 3;
}
}
@@ -41,4 +43,16 @@ enum flexsplit_err {
message fsp_hello {
optional fsp_header header = 1;
}
}
message fsp_echo_request {
optional fsp_header header = 1;
// extensions 100 to 199;
}
message fsp_echo_reply {
optional fsp_header header = 1;
// extensions 100 to 199;
}
+2
View File
@@ -9,5 +9,7 @@ message fsp_header {
enum fsp_type {
// Discovery and maintenance messages
FSPT_HELLO = 0;
FSPT_ECHO_REQUEST = 1;
FSPT_ECHO_REPLY = 2;
}