Add OneMessage type for aprsis2.proto
This commit is contained in:
parent
922f1a56b3
commit
4a751c6b85
|
|
@ -30,3 +30,20 @@ message LoginReply {
|
||||||
optional string result_message = 3;
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue