List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file io.codis.nedis.handler.RedisDuplexHandler.java
/** * @author Apache9 */ public class RedisDuplexHandler extends ChannelDuplexHandler { private static final class Entry {
From source file io.crate.mqtt.netty.MqttMessageLogger.java
@ChannelHandler.Sharable public class MqttMessageLogger extends ChannelDuplexHandler { private static final String DIRECTION_READ = "C->B"; private static final String DIRECTION_WRITE = "C<-B";
From source file io.crate.mqtt.netty.MqttNettyIdleTimeoutHandler.java
@Sharable public class MqttNettyIdleTimeoutHandler extends ChannelDuplexHandler { @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception { if (evt instanceof IdleStateEvent) { IdleState e = ((IdleStateEvent) evt).state();
From source file io.gatling.http.client.impl.Http2AppHandler.java
public class Http2AppHandler extends ChannelDuplexHandler { private static final Logger LOGGER = LoggerFactory.getLogger(Http2AppHandler.class); private static final IOException REMOTELY_CLOSED_EXCEPTION = new IOException( "Channel was closed before handshake completed");
From source file io.gatling.http.client.impl.HttpAppHandler.java
class HttpAppHandler extends ChannelDuplexHandler { private static final Logger LOGGER = LoggerFactory.getLogger(HttpAppHandler.class); private static final IOException PREMATURE_CLOSE = new IOException("Premature close") { @Override
From source file io.gatling.http.client.impl.WebSocketHandler.java
public class WebSocketHandler extends ChannelDuplexHandler { private static final Logger LOGGER = LoggerFactory.getLogger(WebSocketHandler.class); private static final IOException PREMATURE_CLOSE = new IOException("Premature close") { @Override
From source file io.github.bktlib.network.PacketHandler.java
public abstract class PacketHandler extends ChannelDuplexHandler { /** * Chamando quando um packet recebido. * * @param packet Pacote recebido
From source file io.github.lxgaming.silentboss.listeners.SilentBossPacketHandler.java
public class SilentBossPacketHandler extends ChannelDuplexHandler { @Override public void write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) { ByteBuf byteBuf = null;
From source file io.grapebaba.vineyard.grape.heartbeat.HeartbeatClientHandler.java
/** * Client side heartbeat handler. */ public class HeartbeatClientHandler extends ChannelDuplexHandler { @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
From source file io.grapebaba.vineyard.grape.heartbeat.HeartbeatServerHandler.java
/** * Server side heartbeat handler. */ public class HeartbeatServerHandler extends ChannelDuplexHandler { @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {