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.vmware.xenon.common.http.netty.NettyHttp2UserEventLogger.java

/**
 * This is a handler that is inserted into a Netty channel pipeline just to log
 * user events related to upgrades from HTTP/1.1 to HTTP/2. We only log failed
 * attempts (that's interesting) unless debugLogging is enabled, in which case
 * we log all events.
 */

From source file com.waitme.game.net.netty.HttpServerHandler.java

public class HttpServerHandler extends ChannelInboundHandlerAdapter {
    private static final byte[] CONTENT = { 'H', 'e', 'l', 'l', 'o', ' ', 'W', 'o', 'r', 'l', 'd' };

    private static final AsciiString CONTENT_TYPE = new AsciiString("Content-Type");
    private static final AsciiString CONTENT_LENGTH = new AsciiString("Content-Length");
    private static final AsciiString CONNECTION = new AsciiString("Connection");

From source file com.weibo.api.motan.transport.netty4.NettyServerChannelManage.java

/**
 * @author sunnights
 */
public class NettyServerChannelManage extends ChannelInboundHandlerAdapter {
    private ConcurrentMap<String, Channel> channels = new ConcurrentHashMap<String, Channel>();

From source file com.weibo.api.motan.transport.netty4.server.Netty4ServerChannelManage.java

/**
 * @author guohang
 */
@ChannelHandler.Sharable
public class Netty4ServerChannelManage extends ChannelInboundHandlerAdapter {
    private ConcurrentMap<String, Channel> channels = new ConcurrentHashMap<String, Channel>();

From source file com.whirvis.jraknet.client.RakNetClientHandler.java

/**
 * Used by the {@link RakNetClient} with the sole purpose of sending received
 * packets to the client so they can be handled. Any errors that occurs will
 * also be sent to the client to be dealt with.
 *
 * @author Trent "Whirvis" Summerlin

From source file com.whirvis.jraknet.discovery.DiscoveryHandler.java

/**
 * Used by the {@link Discovery} system with the sole purpose of sending
 * received packets to the discovery system so they can be handled. If any
 * errors occur while handling a packet, it will be ignored.
 *
 * @author Trent "Whirvis" Summerlin

From source file com.whirvis.jraknet.server.RakNetServerHandler.java

/**
 * Used by the {@link RakNetServer} with the sole purpose of sending received
 * packets to the server so they can be handled. Any errors that occurs will
 * also be sent to the server to be dealt with.
 *
 * @author Trent "Whirvis" Summerlin

From source file com.whizzosoftware.wzwave.channel.AcknowledgementInboundHandler.java

/**
 * An inbout handler that sends ACK frames when necessary.
 *
 * @author Dan Noguerol
 */
public class AcknowledgementInboundHandler extends ChannelInboundHandlerAdapter {

From source file com.whizzosoftware.wzwave.channel.inbound.ACKInboundHandler.java

/**
 * An inbound handler that sends ACK frames when necessary.
 *
 * @author Dan Noguerol
 */
public class ACKInboundHandler extends ChannelInboundHandlerAdapter {

From source file com.whizzosoftware.wzwave.channel.inbound.TransactionInboundHandler.java

/**
 * Handler for all Z-Wave frame transactions. Responsible for tracking the state of the current transaction
 * including successes, failures and timeouts.
 *
 * @author Dan Noguerol
 */