Example usage for io.netty.channel ChannelHandlerAdapter subclass-usage

List of usage examples for io.netty.channel ChannelHandlerAdapter subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel ChannelHandlerAdapter subclass-usage.

Usage

From source file com.lin.studytest.netty.handler.EchoServerHandler.java

/**
 * Handler implementation for the echo server.
 */
@Sharable
public class EchoServerHandler extends ChannelHandlerAdapter {

From source file com.magnet.yak.load.XMPPHandler.java

public class XMPPHandler extends ChannelHandlerAdapter {
    private static final Logger LOGGER = LoggerFactory.getLogger(XMPPHandler.class);

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) {
        System.out.println("CHANNEL READ CALLED");

From source file com.mpush.client.gateway.GatewayClientChannelHandler.java

/**
 * Created by ohun on 2015/12/19.
 *
 * @author ohun@live.cn
 */
@ChannelHandler.Sharable

From source file com.my.netty.object.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.my.netty.object.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.nanxiaoqiang.test.netty.protocol.demo1.client.HeartBeatReqHandler.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class HeartBeatReqHandler extends ChannelHandlerAdapter {

From source file com.nanxiaoqiang.test.netty.protocol.demo1.client.LoginAuthReqHandler.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class LoginAuthReqHandler extends ChannelHandlerAdapter {

From source file com.nanxiaoqiang.test.netty.protocol.demo1.server.HeartBeatRespHandler.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class HeartBeatRespHandler extends ChannelHandlerAdapter {

From source file com.nanxiaoqiang.test.netty.protocol.demo1.server.LoginAuthRespHandler.java

/**
 * @author Lilinfeng
 * @date 2014315
 * @version 1.0
 */
public class LoginAuthRespHandler extends ChannelHandlerAdapter {

From source file com.net.ServerHandler.java

/**
 * @author peng
 */
public class ServerHandler extends ChannelHandlerAdapter {

    private String nodeId;//id