merge master
This commit is contained in:
commit
28825c7d9a
@ -373,10 +373,8 @@ void App::DispatchMsg()
|
|||||||
void App::ProcessGameGateMsg(f8::MsgHdr& hdr)
|
void App::ProcessGameGateMsg(f8::MsgHdr& hdr)
|
||||||
{
|
{
|
||||||
if (hdr.msgid == ss::_SS_Ping) {
|
if (hdr.msgid == ss::_SS_Ping) {
|
||||||
#if 0
|
|
||||||
ss::SS_Pong pongmsg;
|
ss::SS_Pong pongmsg;
|
||||||
GGListener::Instance()->SendProxyMsg(hdr.socket_handle, pongmsg);
|
GGListener::Instance()->SendProxyMsg(hdr.socket_handle, pongmsg);
|
||||||
#endif
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
f8::NetMsgHandler* handler = f8::GetNetMsgHandler(&HandlerMgr::Instance()->ggmsghandler,
|
f8::NetMsgHandler* handler = f8::GetNetMsgHandler(&HandlerMgr::Instance()->ggmsghandler,
|
||||||
|
@ -3,12 +3,11 @@ package ss;
|
|||||||
//消息id定义
|
//消息id定义
|
||||||
enum SSMessageId_e
|
enum SSMessageId_e
|
||||||
{
|
{
|
||||||
|
_SS_Ping = 8;
|
||||||
|
_SS_Pong = 9;
|
||||||
|
|
||||||
_SS_WSP_SocketDisconnect = 10;
|
_SS_WSP_SocketDisconnect = 10;
|
||||||
_SS_WSP_RequestTargetServer = 11;
|
_SS_WSP_RequestTargetServer = 11;
|
||||||
_SS_MS_ResponseTargetServer = 12;
|
_SS_MS_ResponseTargetServer = 12;
|
||||||
|
|
||||||
_SS_Ping = 150;
|
|
||||||
_SS_Pong = 151;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,15 @@
|
|||||||
package ss;
|
package ss;
|
||||||
|
|
||||||
|
message SS_Ping
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
message SS_Pong
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
message SS_WSP_SocketDisconnect
|
message SS_WSP_SocketDisconnect
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user