List of usage examples for io.netty.channel ChannelHandlerAdapter subclass-usage
From source file com.heren.turtle.entry.channel.handler.LoginAuthRespHandler.java
/** * Created by zhiwei on 2016/6/15. */ public class LoginAuthRespHandler extends ChannelHandlerAdapter { private String loginResp = "";
From source file com.heren.turtle.entry.channel.handler.MessageReceiverHandler.java
/**
* <p>ProjectName:integration</p>
* <p>Description:</p>
*
* @author:diaozhiwei
* @data:2016/6/19
From source file com.hxr.javatone.concurrency.netty.official.echo.EchoClientHandler.java
/** * Handler implementation for the echo client. It initiates the ping-pong * traffic between the echo client and server by sending the first message to * the server. */ public class EchoClientHandler extends ChannelHandlerAdapter {
From source file com.hxr.javatone.concurrency.netty.official.echo.EchoServerHandler.java
/** * Handler implementation for the echo server. */ @Sharable public class EchoServerHandler extends ChannelHandlerAdapter {
From source file com.hxr.javatone.concurrency.netty.official.localecho.LocalEchoServerHandler.java
public class LocalEchoServerHandler extends ChannelHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { // Write back as received ctx.write(msg);
From source file com.hxr.javatone.concurrency.netty.official.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.hxr.javatone.concurrency.netty.official.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.hxr.javatone.concurrency.netty.official.proxy.HexDumpProxyBackendHandler.java
public class HexDumpProxyBackendHandler extends ChannelHandlerAdapter { private final Channel inboundChannel; public HexDumpProxyBackendHandler(Channel inboundChannel) { this.inboundChannel = inboundChannel;
From source file com.hxr.javatone.concurrency.netty.official.proxy.HexDumpProxyFrontendHandler.java
public class HexDumpProxyFrontendHandler extends ChannelHandlerAdapter { private final String remoteHost; private final int remotePort; private volatile Channel outboundChannel;
From source file com.hxr.javatone.nettyguide.d12.client.HeartBeatReqHandler.java
/** * @author Lilinfeng * @date 2014315 * @version 1.0 */ public class HeartBeatReqHandler extends ChannelHandlerAdapter {