Add OneMessage type for aprsis2.proto

This commit is contained in:
Heikki Hannikainen 2013-06-27 00:54:01 +03:00
parent 922f1a56b3
commit 4a751c6b85
1 changed files with 17 additions and 0 deletions

View File

@ -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;
}