1
This commit is contained in:
parent
9ec658df70
commit
3c2f44a3ab
@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
"instance_id": 1,
|
||||
"listen_port": 8888,
|
||||
"http_listen_port": 8889
|
||||
"listen_port": 8898,
|
||||
"http_listen_port": 8899
|
||||
}
|
||||
]
|
||||
|
@ -2,6 +2,6 @@
|
||||
{
|
||||
"instance_id": 1,
|
||||
"ip": "192.168.100.45",
|
||||
"listen_port": 7821
|
||||
"listen_port": 7921
|
||||
}
|
||||
]
|
||||
|
@ -57,11 +57,16 @@ func (this *app) Update() {
|
||||
} else {
|
||||
handler := cs.GetNetMsgHandler(hdr.MsgId)
|
||||
if handler != nil {
|
||||
if !f5.IsOnlineEnv() {
|
||||
f5.GetSysLog().Info("%s %s", q5.GetTypeName(hdr.Msg), q5.EncodeJson(hdr.Msg))
|
||||
}
|
||||
switch handler.HandlerId {
|
||||
case constant.PLAYER_MGR_HANDLER_ID:
|
||||
fallthrough
|
||||
case constant.PLAYER_HANDLER_ID:
|
||||
GetPlayerMgr().ProcessCMMsg(handler, hdr)
|
||||
case constant.ROOM_HANDLER_ID:
|
||||
fallthrough
|
||||
case constant.ROOM_MGR_HANDLER_ID:
|
||||
GetRoomMgr().ProcessCMMsg(handler, hdr)
|
||||
}
|
||||
|
@ -154,6 +154,9 @@ func (this *WSPListener) parseNetPkt() {
|
||||
|
||||
func (this *WSPListener) SendProxyMsg(conn net.Conn, socketHandle uint16, msg proto.Message) {
|
||||
netMsg := msg.(f5.NetMsg)
|
||||
if !f5.IsOnlineEnv() {
|
||||
f5.GetSysLog().Info("%s %s", q5.GetTypeName(msg), q5.EncodeJson(msg))
|
||||
}
|
||||
msgData, err := proto.Marshal(msg)
|
||||
if err != nil {
|
||||
return
|
||||
|
2
third_party/f5
vendored
2
third_party/f5
vendored
@ -1 +1 @@
|
||||
Subproject commit 47db6c9c60d59681e7fc02bd5649d7fe918b124e
|
||||
Subproject commit 05f5ccedec312db465990b8f821125faea96ee78
|
Loading…
x
Reference in New Issue
Block a user