| | |
| | | |
| | | import com.anyun.im_lib.interf.IMSClientInteface; |
| | | |
| | | import io.netty.buffer.ByteBuf; |
| | | import io.netty.channel.ChannelHandlerContext; |
| | | import io.netty.channel.ChannelInboundHandlerAdapter; |
| | | |
| | |
| | | * 邮箱: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: "); |
| | | |
| | | } |
| | | |
| | | /** |
| | | * 构造函数 |
| | |
| | | @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 |
| | | } |
| | | } |