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 NettyInboundHttpTargetHandler.java

public class NettyInboundHttpTargetHandler extends ChannelInboundHandlerAdapter {

    private final Channel inboundChannel;

    public NettyInboundHttpTargetHandler(Channel inboundChannel) {
        //   System.out.println("Initlizing target pool");

From source file NettyHttpTransportSourceHandler.java

/**
 * actual event handling class for netty
 */
public class NettyHttpTransportSourceHandler extends ChannelInboundHandlerAdapter {

    private volatile Channel outboundChannel;

From source file alluxio.worker.netty.AbstractReadHandler.java

/**
 * This class handles {@link alluxio.proto.dataserver.Protocol.ReadRequest}s.
 *
 * Protocol: Check {@link alluxio.client.block.stream.NettyPacketReader} for additional information.
 * 1. Once a read request is received, the handler creates a {@link PacketReader} which reads
 *    packets from the block worker and pushes them to the buffer.

From source file alluxio.worker.netty.AbstractWriteHandler.java

/**
 * This class handles {@link alluxio.proto.dataserver.Protocol.WriteRequest}s.
 *
 * Protocol: Check {@link alluxio.client.block.stream.NettyPacketWriter} for more information.
 * 1. The netty channel handler streams packets from the channel and buffers them. The netty
 *    reader is paused if the buffer is full by turning off the auto read, and is resumed when

From source file alluxio.worker.netty.AsyncCacheHandler.java

/**
 * Handler for async cache requests.
 */
public class AsyncCacheHandler extends ChannelInboundHandlerAdapter {
    private final AsyncCacheRequestManager mRequestManager;

From source file alluxio.worker.netty.DataServerHeartbeatHandler.java

/**
 * A handler for heartbeat events.
 */
public class DataServerHeartbeatHandler extends ChannelInboundHandlerAdapter {
    /**
     * Constructs a new heartbeat handler.

From source file alluxio.worker.netty.DataServerReadHandler.java

/**
 * This class handles {@link alluxio.proto.dataserver.Protocol.ReadRequest}s.
 *
 * Protocol: Check {@link alluxio.client.block.stream.NettyPacketReader} for additional information.
 * 1. Once a read request is received, the handler creates a {@link PacketReader} which reads
 *    packets from the block worker and pushes them to the buffer.

From source file alluxio.worker.netty.DataServerShortCircuitReadHandler.java

/**
 * Netty handler that handles short circuit read requests.
 */
@NotThreadSafe
class DataServerShortCircuitReadHandler extends ChannelInboundHandlerAdapter {
    private static final Logger LOG = LoggerFactory.getLogger(DataServerShortCircuitReadHandler.class);

From source file alluxio.worker.netty.DataServerShortCircuitWriteHandler.java

/**
 * Netty handler that handles short circuit read requests.
 */
@NotThreadSafe
class DataServerShortCircuitWriteHandler extends ChannelInboundHandlerAdapter {
    private static final Logger LOG = LoggerFactory.getLogger(DataServerShortCircuitWriteHandler.class);

From source file alluxio.worker.netty.DataServerUnsupportedMessageHandler.java

/**
 * Netty handler which replies to the client with an unknown message error for message types
 * which are no longer supported.
 */
@ChannelHandler.Sharable
@ThreadSafe