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 favoorr.netty.protocol.netty.server.LoginAuthRespHandler.java

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

From source file game.client.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 halive.shootinoutside.server.net.GameServerHandler.java

public class GameServerHandler extends ChannelHandlerAdapter {
    private GameServer server;

    public GameServerHandler(GameServer server) {
        this.server = server;
    }

From source file io.aos.netty5.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 io.aos.netty5.echo.EchoServerHandler.java

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

From source file io.aos.netty5.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 io.aos.netty5.localecho.LocalEchoServerHandler.java

public class LocalEchoServerHandler extends ChannelHandlerAdapter {

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) {
        // Write back as received
        ctx.write(msg);

From source file io.aos.netty5.memcache.binary.MemcacheClientHandler.java

public class MemcacheClientHandler extends ChannelHandlerAdapter {

    /**
     * Transforms basic string requests to binary memcache requests
     */
    @Override

From source file io.aos.netty5.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 io.aos.netty5.objectecho.ObjectEchoServerHandler.java

/**
 * Handles both client-side and server-side handler depending on which
 * constructor was called.
 */
public class ObjectEchoServerHandler extends ChannelHandlerAdapter {