1 enum MessageStatus { 2 FAIL = 0; 3 OK = 1; 4 }; 5 6 message MessageInfo { 7 required fixed32 msg_id = 1; 8 optional fixed32 interface_id = 2; 9 } 10 11 message MessageResponseInfo { 12 required fixed64 interface_id = 1; 13 required fixed32 seq = 2; 14 required fixed32 msg_id = 3; 15 } 16 17 message MessageHeader { 18 required MessageInfo info = 1; 19 optional MessageResponseInfo response_info = 2; 20 optional MessageResponse response = 3; 21 } 22 23 message MessageResponse { 24 required MessageStatus status = 1; 25 required fixed32 seq = 2; 26 } 27 28