progran.proto 1.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
package protocol;

import "stats_messages.proto";

//
// Maintenance and discovery messages
//

// Empty message. Does not really have to be used.
// Could use only the header with the type set to PRPT_HELLO
message prp_hello {
}

message prp_echo_request {
	extensions 100 to 199;
}


message prp_echo_reply {
	extensions 100 to 199;
}



//
// Statistics request and reply message
//

message prp_stats_request {
	optional prp_stats_type type = 1;
	oneof body {
	      prp_complete_stats_request complete_stats_request = 2;
	      prp_cell_stats_request cell_stats_request = 3;
	      prp_ue_stats_request ue_stats_request = 4;
	}
}

message prp_stats_reply {
	optional prp_ue_stats_report ue_report = 1;
	optional prp_cell_stats_report cell_report = 2;
}


// Extensions of the echo request and reply
// messages for carrying a latency value in ms
message prp_echo_request_latency {
	extend prp_echo_request {
	       optional uint32 latency = 100;
	}
}

message prp_echo_reply_latency {
	extend prp_echo_reply {
	       optional uint32 latency = 100;
	}
}


//message progran_body {
//        oneof msg {
//              prp_hello hello_msg = 1;
//              prp_echo_request echo_request_msg = 2;
//	      prp_echo_reply echo_reply_msg = 3;
//	      prp_stats_request stats_request_msg = 4;
//	      prp_stats_reply stats_reply_msg = 5;
//       }
//}