mirror of
https://gitee.com/farsunset/cim.git
synced 2025-06-17 07:35:25 +08:00
服务端sdk 优化日志打印,线程名加入UID信息
This commit is contained in:
parent
0e8a6aba18
commit
4051660957
Binary file not shown.
@ -23,6 +23,7 @@ package com.farsunset.cim.coder.protobuf;
|
||||
|
||||
import com.farsunset.cim.constant.CIMConstant;
|
||||
import com.farsunset.cim.constant.ChannelAttr;
|
||||
import com.farsunset.cim.exception.ReadInvalidTypeException;
|
||||
import com.farsunset.cim.model.Pong;
|
||||
import com.farsunset.cim.model.SentBody;
|
||||
import com.farsunset.cim.model.proto.SentBodyProto;
|
||||
@ -52,7 +53,13 @@ public class WebMessageDecoder extends MessageToMessageDecoder<BinaryWebSocketFr
|
||||
return;
|
||||
}
|
||||
|
||||
if (CIMConstant.DATA_TYPE_SENT == type) {
|
||||
list.add(getBody(buffer));
|
||||
return;
|
||||
}
|
||||
|
||||
throw new ReadInvalidTypeException(type);
|
||||
|
||||
}
|
||||
|
||||
protected SentBody getBody(ByteBuf buffer) throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user