package com.jun.plugin.nio.netty.demo1;

import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;

/**
 * 
* Title: BaseClient1Handler
* Description: 客户端自定义解码器其一
* Version:1.0.0  
* @author panchengming
* @date 2017年9月17日
 */
public class BaseClient1Handler extends ChannelInboundHandlerAdapter{
		@Override  
	    public void channelActive(ChannelHandlerContext ctx) throws Exception {  
	        System.out.println("BaseClient1Handler channelActive");  
//	        ctx.fireChannelActive();  
	    }  
	      
	    @Override  
	    public void channelInactive(ChannelHandlerContext ctx) throws Exception {  
	        System.out.println("BaseClient1Handler channelInactive");  
	    }  
}
