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 blazingcache.network.netty.DataMessageEncoder.java

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

From source file code.google.nfs.rpc.netty.serialize.NettyProtocolEncoder.java

/**
 * Encode Message
 * 
 * @author <a href="mailto:bluedavy@gmail.com">bluedavy</a>
 */
public class NettyProtocolEncoder extends ChannelOutboundHandlerAdapter {

From source file com.addthis.hydra.query.MeshQueryMaster.java

@ChannelHandler.Sharable
public class MeshQueryMaster extends ChannelOutboundHandlerAdapter {

    private static final Logger log = LoggerFactory.getLogger(MeshQueryMaster.class);
    private static final String tempDir = Parameter.value("query.tmpdir", "query.tmpdir");
    private static final int meshPort = Parameter.intValue("qmaster.mesh.port", 5100);

From source file com.addthis.hydra.query.tracker.TrackerHandler.java

public class TrackerHandler extends ChannelOutboundHandlerAdapter implements ChannelProgressiveFutureListener {

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

    private final QueryTracker queryTracker;
    private final String[] opsLog;

From source file com.addthis.hydra.query.web.AbstractBufferingHttpBundleEncoder.java

/**
 * parent of all streaming response classes
 */
abstract class AbstractBufferingHttpBundleEncoder extends ChannelOutboundHandlerAdapter {

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

From source file com.corundumstudio.socketio.handler.EncoderHandler.java

@Sharable
public class EncoderHandler extends ChannelOutboundHandlerAdapter {

    private static final byte[] OK = "ok".getBytes(CharsetUtil.UTF_8);

    public static final AttributeKey<String> ORIGIN = AttributeKey.valueOf("origin");

From source file com.corundumstudio.socketio.SocketIOEncoder.java

@Sharable
public class SocketIOEncoder extends ChannelOutboundHandlerAdapter implements Disconnectable {

    class XHRClientEntry {

        // works faster than locking

From source file com.ebay.jetstream.messaging.transport.netty.compression.MessageCompressionHandler.java

public class MessageCompressionHandler extends ChannelOutboundHandlerAdapter implements XSerializable {

    private static final Logger LOGGER = LoggerFactory.getLogger("com.ebay.jetstream.messaging");
    private LongCounter m_totalMessagesCompressed = new LongCounter();
    private LongCounter m_totalMessagesDropped = new LongCounter();

From source file com.ebay.jetstream.messaging.transport.netty.eventproducer.EventConsumerStatisticsHandler.java

public class EventConsumerStatisticsHandler extends ChannelOutboundHandlerAdapter {

    @Override
    public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception {
        ((ExtendedChannelPromise) promise).setWrittenSize(((ByteBuf) msg).readableBytes());
        super.write(ctx, msg, promise);

From source file com.eucalyptus.ws.handlers.IoAddressingHandler.java

/**
 *
 */
@ChannelHandler.Sharable
public class IoAddressingHandler extends ChannelOutboundHandlerAdapter {