From 4a751c6b85ca75fc3a51f5c113d698e4108f6bc8 Mon Sep 17 00:00:00 2001 From: Heikki Hannikainen Date: Thu, 27 Jun 2013 00:54:01 +0300 Subject: [PATCH] Add OneMessage type for aprsis2.proto --- src/aprsis2.proto | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/aprsis2.proto b/src/aprsis2.proto index e99cf3b..420e770 100644 --- a/src/aprsis2.proto +++ b/src/aprsis2.proto @@ -30,3 +30,20 @@ message LoginReply { optional string result_message = 3; } +message OneMessage { + enum Type { + SERVER_SIGNATURE = 1; + LOGIN_REQUEST = 2; + LOGIN_REPLY = 3; + } + + // Identifies which message is filled in. + required Type type = 1; + + // One of the following will be filled in. + optional ServerSignature serversignature = 2; + optional LoginRequest loginrequest = 3; + optional LoginReply loginreply = 4; +} + +