List of usage examples for io.netty.channel ChannelHandlerAdapter subclass-usage
From source file com.netty.protocol.netty.server.HeartBeatRespHandler.java
public class HeartBeatRespHandler extends ChannelHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { NettyMessage message = (NettyMessage) msg; // ? if (message.getHeader() != null && message.getHeader().getType() == MessageType.HEARTBEAT_REQ.value()) {
From source file com.netty.protocol.netty.server.LoginAuthRespHandler.java
public class LoginAuthRespHandler extends ChannelHandlerAdapter { private Map<String, Boolean> nodeCheck = new ConcurrentHashMap<String, Boolean>(); private String[] whitekList = { "127.0.0.1", "192.168.1.104" }; /**
From source file com.phei.netty.basic.TimeClientHandler.java
/** * @author lilinfeng * @date 2014214 * @version 1.0 */ public class TimeClientHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.basic.TimeServerHandler.java
/** * @author lilinfeng * @date 2014214 * @version 1.0 */ public class TimeServerHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.basic.TimeServerHandlerTwo.java
/** * @author lilinfeng * @version 1.0 * @date 2014214 */ public class TimeServerHandlerTwo extends ChannelHandlerAdapter {
From source file com.phei.netty.chapter12.netty.client.HeartBeatReqHandler.java
/** * @author Lilinfeng * @version 1.0 * @date 2014315 */ public class HeartBeatReqHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.chapter12.netty.client.LoginAuthReqHandler.java
/** * @author Lilinfeng * @version 1.0 * @date 2014315 */ public class LoginAuthReqHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.chapter12.netty.server.HeartBeatRespHandler.java
/** * @author Lilinfeng * @version 1.0 * @date 2014315 */ public class HeartBeatRespHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.chapter12.netty.server.LoginAuthRespHandler.java
/** * @author Lilinfeng * @version 1.0 * @date 2014315 */ public class LoginAuthRespHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.chapter3.basic.TimeClientHandler.java
/** * @author lilinfeng * @version 1.0 * @date 2014214 */ public class TimeClientHandler extends ChannelHandlerAdapter {