List of usage examples for io.netty.channel ChannelHandlerAdapter subclass-usage
From source file com.phei.netty.frame.fixedLen.TimeClientHandler.java
/** * @author lilinfeng * @version 1.0 * @date 2014214 */ public class TimeClientHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.nio.http.helloworld.HttpHelloWorldServerHandler.java
public class HttpHelloWorldServerHandler extends ChannelHandlerAdapter { private static final byte[] CONTENT = { 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd' }; @Override public void channelReadComplete(ChannelHandlerContext ctx) { ctx.flush();
From source file com.phei.netty.protocol.netty.client.HeartBeatReqHandler.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class HeartBeatReqHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.protocol.netty.client.LoginAuthReqHandler.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class LoginAuthReqHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.protocol.netty.server.HeartBeatRespHandler.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class HeartBeatRespHandler extends ChannelHandlerAdapter {
From source file com.phei.netty.protocol.netty.server.LoginAuthRespHandler.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class LoginAuthRespHandler extends ChannelHandlerAdapter {
From source file com.qq.servlet.demo.netty.sample.http.helloworld.HttpHelloWorldServerHandler.java
public class HttpHelloWorldServerHandler extends ChannelHandlerAdapter { private static final byte[] CONTENT = { 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd' }; @Override public void channelReadComplete(ChannelHandlerContext ctx) { ctx.flush();
From source file com.qq.servlet.demo.netty.sample.objectecho.ObjectEchoClientHandler.java
/** * Handler implementation for the object echo client. It initiates the * ping-pong traffic between the object echo client and server by sending the * first message to the server. */ public class ObjectEchoClientHandler extends ChannelHandlerAdapter {
From source file com.qq.servlet.demo.netty.sample.objectecho.ObjectEchoServerHandler.java
/** * Handles both client-side and server-side handler depending on which * constructor was called. */ public class ObjectEchoServerHandler extends ChannelHandlerAdapter {
From source file com.qq.servlet.demo.netty.sample.proxy.HexDumpProxyBackendHandler.java
public class HexDumpProxyBackendHandler extends ChannelHandlerAdapter { private final Channel inboundChannel; public HexDumpProxyBackendHandler(Channel inboundChannel) { this.inboundChannel = inboundChannel;