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

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

Introduction

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

Usage

From source file com.linkedin.r2.transport.http.client.RAPClientCodec.java

/**
 * @author Steven Ihde
 * @author Ang Xu
 * @version $Revision: $
 */
class RAPClientCodec extends ChannelDuplexHandler {

From source file com.linkedin.r2.transport.http.client.RAPRequestEncoder.java

/** package private */
class RAPRequestEncoder extends ChannelDuplexHandler {
    private static final int MAX_BUFFERED_CHUNKS = 10;
    // this threshold is to mitigate the effect of the inter-play of Nagle's algorithm & Delayed ACK
    // when sending requests with small entity
    private static final int FLUSH_THRESHOLD = R2Constants.DEFAULT_DATA_CHUNK_SIZE;

From source file com.linkedin.r2.transport.http.server.RAPServerCodec.java

/**
* @author Steven Ihde
* @version $Revision: $
*/
class RAPServerCodec extends ChannelDuplexHandler {
    private final RAPResponseEncoder _encoder = new RAPResponseEncoder();

From source file com.look.netty.demo.spdy.client.SpdyFrameLogger.java

/**
 * Logs SPDY frames for debugging purposes.
 */
public class SpdyFrameLogger extends ChannelDuplexHandler {

    private enum Direction {

From source file com.mobius.software.android.iotbroker.mqtt.net.ExceptionHandler.java

@Sharable
public class ExceptionHandler extends ChannelDuplexHandler {
    private static final String separator = ",";

    private ConnectionListener listener;

From source file com.mobius.software.mqtt.performance.controller.net.ExceptionHandler.java

@Sharable
public class ExceptionHandler extends ChannelDuplexHandler {
    private static final Log logger = LogFactory.getLog(ExceptionHandler.class);

    @Override
    public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) {

From source file com.myftpserver.handler.CommandChannelTimeoutHandler.java

/**
 * 
 * @author SITO3
 *
 */
public class CommandChannelTimeoutHandler extends ChannelDuplexHandler {

From source file com.replaymod.sponge.recording.spongecommon.SpongeConnectionEventListener.java

/**
* Channel adapter for firing connection events.
*/
@ChannelHandler.Sharable
public class SpongeConnectionEventListener extends ChannelDuplexHandler {

From source file com.slyak.services.proxy.handler.ExceptionHandler.java

/**
 * .
 *
 * @author stormning 2017/4/13
 * @since 1.3.0
 */

From source file com.springapp.mvc.netty.example.spdy.client.SpdyFrameLogger.java

/**
 * Logs SPDY frames for debugging purposes.
 */
public class SpdyFrameLogger extends ChannelDuplexHandler {

    private enum Direction {