From 704a7434b0494e84a578d719daacb72f995b2ad2 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期一, 30 十二月 2019 17:43:17 +0800 Subject: [PATCH] Merge branch 'master' of https://gitee.com/endian11/DriveJudge --- im_lib/src/main/java/com/anyun/im_lib/LoginAuthRespHandler.java | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/im_lib/src/main/java/com/anyun/im_lib/LoginAuthRespHandler.java b/im_lib/src/main/java/com/anyun/im_lib/LoginAuthRespHandler.java index a3c6191..a91f238 100644 --- a/im_lib/src/main/java/com/anyun/im_lib/LoginAuthRespHandler.java +++ b/im_lib/src/main/java/com/anyun/im_lib/LoginAuthRespHandler.java @@ -4,6 +4,7 @@ import com.anyun.im_lib.interf.IMSClientInteface; +import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; @@ -14,10 +15,17 @@ * 閭锛�632393724@qq.com * All Rights Saved! Chongqing AnYun Tech co. LTD */ -public class LoginAuthRespHandler extends ChannelInboundHandlerAdapter { +public class LoginAuthRespHandler extends ChannelInboundHandlerAdapter { private static final String TAG = LoginAuthRespHandler.class.getSimpleName(); private IMSClientInteface imsClient; + + @Override + public void channelActive(ChannelHandlerContext ctx) throws Exception { + super.channelActive(ctx); + Log.i(TAG, "channelActive: "); + + } /** * 鏋勯�犲嚱鏁� @@ -36,7 +44,7 @@ @Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { super.channelRead(ctx, msg); - Log.i(TAG, "channelRead"); +// Log.i(TAG, "channelRead"+(String)msg); // TODO: 2019/12/4 } } -- Gitblit v1.8.0