lizhanwei
2020-02-21 c3e6e125ebd8cd35d9265ef88d5f8c357393e1c1
im_lib/src/main/java/com/anyun/im_lib/netty/NettyTcpClient.java
@@ -330,7 +330,7 @@
        // TODO: 2019/12/12  根据MSG_ID 来加入 超时,  暂不写
        if (channel == null){
            Log.i(TAG, "sendMsg fail,channel为空"+msg);
            MyLog.i("PlatformMessage", "sendMsg fail,channel为空"+msg);
        }
        try {
            MyLog.i("PlatformMessage", "sendMsg: "+ BytesUtils.bytesToHexString(msg));
@@ -338,7 +338,7 @@
            byteBuf.writeBytes(msg);
            channel.writeAndFlush(byteBuf);
        } catch (Exception e) {
            Log.i(TAG, "发送消息失败,reason="+e.getMessage()+"\t"+msg);
            Log.i("PlatformMessage", "发送消息失败,reason="+e.getMessage()+"\t"+msg);
        }
    }