42 lines
727 B
Protocol Buffer
Executable File
42 lines
727 B
Protocol Buffer
Executable File
package ss;
|
|
|
|
message SS_Ping
|
|
{
|
|
|
|
}
|
|
|
|
message SS_Pong
|
|
{
|
|
|
|
}
|
|
|
|
message SS_WSP_SocketDisconnect
|
|
{
|
|
}
|
|
|
|
message SS_WSP_RequestTargetServer
|
|
{
|
|
optional int64 context_id = 1;
|
|
optional string account_id = 2;
|
|
optional string team_id = 3;
|
|
optional string server_info = 4;
|
|
optional int32 is_reconnect = 5;
|
|
optional int32 proto_version = 6; //协议版本号Constant_e.ProtoVersion
|
|
optional string url = 7;
|
|
optional string query_str = 8;
|
|
optional string session_id = 9;
|
|
}
|
|
|
|
message SS_MS_ResponseTargetServer
|
|
{
|
|
optional int32 error_code = 1;
|
|
optional string error_msg = 2;
|
|
optional int64 context_id = 3;
|
|
optional string host = 4;
|
|
optional int32 port = 5;
|
|
}
|
|
|
|
message SS_ForceCloseSocket
|
|
{
|
|
}
|