提交示例代码
This commit is contained in:
38
邮件系统课程完整代码/Config/NetworkProtocol/Inner/InnerMessage.proto
Normal file
38
邮件系统课程完整代码/Config/NetworkProtocol/Inner/InnerMessage.proto
Normal file
@@ -0,0 +1,38 @@
|
||||
syntax = "proto3";
|
||||
package Sining.Message;
|
||||
/// Gate服务器登陆到Mail服务器
|
||||
message G2Mail_LoginRequest // IRouteRequest,Mail2G_LoginResponse
|
||||
{
|
||||
string Name = 1;
|
||||
int64 AccountId = 2;
|
||||
int64 CreateTime = 3;
|
||||
int64 GateRouteId = 4;
|
||||
}
|
||||
message Mail2G_LoginResponse // IRouteResponse
|
||||
{
|
||||
int64 MailUnitRouteId = 1;
|
||||
}
|
||||
/// 发送一个Gate服务器发送给Mail之间的测试协议
|
||||
message G2Mail_TestMessage // IRouteMessage
|
||||
{
|
||||
string Tag = 1;
|
||||
}
|
||||
/// 发送给Mail服务器进行下线
|
||||
message G2Mail_ExitRequest // IRouteRequest,Mail2G_ExitResponse
|
||||
{
|
||||
|
||||
}
|
||||
message Mail2G_ExitResponse // IRouteResponse
|
||||
{
|
||||
|
||||
}
|
||||
/// 其他服务器发送邮件
|
||||
// Protocol Bson
|
||||
message Other2Mail_SendMailRequest // IRouteRequest,Mail2Other_SendMailResponse
|
||||
{
|
||||
MailBox MailBox = 1;
|
||||
}
|
||||
message Mail2Other_SendMailResponse // IRouteResponse
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user