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

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

Introduction

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

Usage

From source file io.netty.example.spdy.client.SpdyClientStreamIdHandler.java

/**
 * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd.
 */
public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter {

    private int currentStreamId = 1;

From source file io.scalecube.socketio.pipeline.LastOutboundHandler.java

/**
 * Created by miroslav_l on 5/16/14.
 */
final class LastOutboundHandler extends ChannelOutboundHandlerAdapter {
    private final Queue<Object> outboundMessages = new ArrayDeque<Object>();

From source file majordodo.network.netty.DodoMessageEncoder.java

/**
 * Encodes messages to bytes
 *
 * @author enrico.olivelli
 */
public class DodoMessageEncoder extends ChannelOutboundHandlerAdapter {

From source file me.calvinliu.netty.spdy.client.SpdyClientStreamIdHandler.java

/**
 * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd.
 */
public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter {

    private int currentStreamId = 1;

From source file me.jtalk.socketconnector.io.Sender.java

public class Sender extends ChannelOutboundHandlerAdapter {

    private static final Logger log = Logger.getLogger(Sender.class.getName());

    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {

From source file net.NettyEngine4.ServerEncoder.java

/**
 * Created with IntelliJ IDEA.
 * User:   </br>
 * Date: 13-10-22            </br>
 * Time: ?4:55              </br>
 * Package_name: Server.ExtComponents.NettyEngine4   </br>

From source file netty.example.spdy.client.SpdyClientStreamIdHandler.java

/**
 * Adds a unique client stream ID to the SPDY header. Client stream IDs MUST be odd.
 */
public class SpdyClientStreamIdHandler extends ChannelOutboundHandlerAdapter {

    private int currentStreamId = 1;

From source file org.apache.flink.runtime.io.network.netty.OutboundEnvelopeEncoder.java

@ChannelHandler.Sharable
public class OutboundEnvelopeEncoder extends ChannelOutboundHandlerAdapter {

    public static final int HEADER_SIZE = 48;

    public static final int MAGIC_NUMBER = 0xBADC0FFE;

From source file org.apache.giraph.comm.netty.handler.RequestEncoder.java

/**
 * Requests have a request type and an encoded request.
 */
public class RequestEncoder extends ChannelOutboundHandlerAdapter {
    /** Class logger */
    private static final Logger LOG = Logger.getLogger(RequestEncoder.class);

From source file org.apache.giraph.comm.netty.handler.ResponseEncoder.java

/**
 * How a server should respond to a client. Currently only used for
 * responding to client's SASL messages, and removed after client
 * authenticates.
 */
public class ResponseEncoder extends ChannelOutboundHandlerAdapter {