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

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

Introduction

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

Usage

From source file com.corundumstudio.socketio.transport.FlashPolicyHandler.java

@Sharable
public class FlashPolicyHandler extends ChannelInboundHandlerAdapter {

    private final ByteBuf requestBuffer = Unpooled.copiedBuffer("<policy-file-request/>", CharsetUtil.UTF_8);

    private final ByteBuf responseBuffer = Unpooled.copiedBuffer("<?xml version=\"1.0\"?>"

From source file com.corundumstudio.socketio.transport.FlashSocketPolicyHandler.java

@Sharable
public class FlashSocketPolicyHandler extends ChannelInboundHandlerAdapter {

    private static final Logger log = LoggerFactory.getLogger(FlashSocketPolicyHandler.class);

    private final ByteBuf requestBuffer = Unpooled.copiedBuffer("<policy-file-request/>", CharsetUtil.UTF_8);

From source file com.corundumstudio.socketio.transport.FlashUrlLoaderPolicyHandler.java

/**
 * Flash policy handler for UrlLoaders
 * Author: akshay
 * Date  : 1/20/14
 * Time  : 6:11 AM
 */

From source file com.corundumstudio.socketio.transport.PollingTransport.java

@Sharable
public class PollingTransport extends ChannelInboundHandlerAdapter {

    public static final String NAME = "polling";

    private final Logger log = LoggerFactory.getLogger(getClass());

From source file com.corundumstudio.socketio.transport.WebSocketTransport.java

@Sharable
public class WebSocketTransport extends ChannelInboundHandlerAdapter {

    public static final String NAME = "websocket";

    private final Logger log = LoggerFactory.getLogger(getClass());

From source file com.ctrip.xpipe.redis.console.health.netty.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 ChannelInboundHandlerAdapter {

From source file com.ctrip.xpipe.redis.console.health.netty.EchoServerHandler.java

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

From source file com.demo.netty.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 ChannelInboundHandlerAdapter {

From source file com.demo.netty.echo.EchoServerHandler.java

/**
 * Handler implementation for the echo server.
 */
@Sharable // Indicate that a ChannelHandler can be safely shared by multiple channels
public class EchoServerHandler extends ChannelInboundHandlerAdapter {

From source file com.dinstone.jrpc.transport.netty4.NettyClientHandler.java

public class NettyClientHandler extends ChannelInboundHandlerAdapter {

    private static final Logger LOG = LoggerFactory.getLogger(NettyClientHandler.class);

    /**
     * {@inheritDoc}