List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file io.grpc.netty.WriteBufferingAndExceptionHandler.java
/**
* Buffers all writes until either {@link #writeBufferedAndRemove(ChannelHandlerContext)} or
* {@link #failWrites(Throwable)} is called. This handler allows us to
* write to a {@link io.netty.channel.Channel} before we are allowed to write to it officially
* i.e. before it's active or the TLS Handshake is complete.
*/
From source file io.hydramq.network.server.BaseProtocolHandler.java
/** * @author jfulton */ @Sharable public abstract class BaseProtocolHandler extends ChannelDuplexHandler implements ProtocolHandler {
From source file io.jsync.net.impl.AsyncHandler.java
/** * @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a> */ public abstract class AsyncHandler<C extends ConnectionBase> extends ChannelDuplexHandler { protected final AsyncInternal async; protected final Map<Channel, C> connectionMap;
From source file io.lettuce.core.protocol.CommandHandler.java
/**
* A netty {@link ChannelHandler} responsible for writing redis commands and reading responses from the server.
*
* @author Will Glozer
* @author Mark Paluch
* @author Jongyeol Choi
From source file io.lettuce.core.RedisChannelInitializerImpl.java
/** * Channel initializer to set up the transport before a Redis connection can be used. This class is part of the internal API. * * @author Mark Paluch */ abstract class RedisChannelInitializerImpl extends ChannelDuplexHandler implements RedisChannelInitializer {
From source file io.liveoak.common.protocol.DebugHandler.java
/** * @author Bob McWhirter */ public class DebugHandler extends ChannelDuplexHandler { public DebugHandler(String name) {
From source file io.liveoak.container.analytics.AnalyticsBandwidthHandler.java
/** * @author <a href="mailto:marko.strukelj@gmail.com">Marko Strukelj</a> */ public class AnalyticsBandwidthHandler extends ChannelDuplexHandler { private long bytesRead;
From source file io.liveoak.container.ErrorHandler.java
public class ErrorHandler extends ChannelDuplexHandler { private static Logger log = Logger.getLogger(ErrorHandler.class); public ErrorHandler() { }
From source file io.liveoak.container.RequestContextDisposerHandler.java
public class RequestContextDisposerHandler extends ChannelDuplexHandler { @Override public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) throws Exception { if (msg instanceof ResourceResponse) { ((ResourceResponse) msg).inReplyTo().requestContext().dispose();
From source file io.liveoak.stomp.client.protocol.DisconnectionNegotiatingHandler.java
/** * @author Bob McWhirter */ public class DisconnectionNegotiatingHandler extends ChannelDuplexHandler { public DisconnectionNegotiatingHandler(StompClientContext clientContext) {