List of usage examples for io.netty.channel ChannelDuplexHandler subclass-usage
From source file org.elasticsearch.transport.netty4.Netty4MessageChannelHandler.java
/** * A handler (must be the last one!) that does size based frame decoding and forwards the actual message * to the relevant action. */ final class Netty4MessageChannelHandler extends ChannelDuplexHandler {
From source file org.emsg.smart_connector.netty.exception.SmartConnectorIdleTimeoutHandler.java
@Sharable public class SmartConnectorIdleTimeoutHandler extends ChannelDuplexHandler { @Override public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception { if (evt instanceof IdleStateEvent) { IdleState e = ((IdleStateEvent) evt).state();
From source file org.emsg.smart_connector.netty.metrics.BytesMetricsHandler.java
public class BytesMetricsHandler extends ChannelDuplexHandler { private static final AttributeKey<BytesMetrics> ATTR_KEY_METRICS = AttributeKey.valueOf("BytesMetrics"); private BytesMetricsCollector m_collector;
From source file org.emsg.smart_connector.netty.metrics.MessageMetricsHandler.java
public class MessageMetricsHandler extends ChannelDuplexHandler { private static final AttributeKey<MessageMetrics> ATTR_KEY_METRICS = AttributeKey.valueOf("MessageMetrics"); private MessageMetricsCollector m_collector;
From source file org.glassfish.jersey.netty.httpserver.JerseyHttp2ServerHandler.java
/**
* Jersey Netty HTTP/2 handler.
* <p>
* Note that this implementation cannot be more experimental. Any contributions / feedback is welcomed.
*
* @author Pavel Bucek (pavel.bucek at oracle.com)
From source file org.hornetq.core.remoting.impl.netty.HornetQChannelHandler.java
/**
* Common handler implementation for client and server side handler.
*
* @author <a href="mailto:tlee@redhat.com">Trustin Lee</a>
* @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a>
* @version $Rev$, $Date$
From source file org.hornetq.core.remoting.impl.netty.HttpAcceptorHandler.java
/** * Ensures that every request has a response and also that any uninitiated responses always wait for * a response. * @author <a href="mailto:andy.taylor@jboss.org">Andy Taylor</a> */ public class HttpAcceptorHandler extends ChannelDuplexHandler {
From source file org.interop.xoola.tcpcom.connmanager.XoolaNettyHandler.java
/** * @author dogan, muhammet */ public abstract class XoolaNettyHandler extends ChannelDuplexHandler { private static final Logger LOGGER = Logger.getLogger(XoolaNettyHandler.class); // Xoola
From source file org.iotivity.cloud.base.protocols.coap.CoapLogHandler.java
/**
*
* This class provides a set of APIs to print out logs for CoAP request and
* response.
*
*/
From source file org.iotivity.cloud.base.protocols.coap.websocket.WebSocketFrameHandler.java
public class WebSocketFrameHandler extends ChannelDuplexHandler { @Override public void channelActive(ChannelHandlerContext ctx) throws Exception { Log.v(ctx.channel().id().asLongText().substring(26) + " WebSocket Connected, Address: " + ctx.channel().remoteAddress().toString());