List of usage examples for io.netty.channel ChannelHandler interface-usage
From source file io.gatling.http.client.impl.NoopHandler.java
@ChannelHandler.Sharable public class NoopHandler implements ChannelHandler { public static final NoopHandler INSTANCE = new NoopHandler(); private NoopHandler() {
From source file io.hydramq.network.server.ProtocolHandler.java
/** * @author jfulton */ public interface ProtocolHandler extends ChannelHandler { ConversionContext getConversionContext();
From source file io.lettuce.core.RedisChannelInitializer.java
/**
* Channel initializer to set up the transport before a Redis connection can be used. This is part of the internal API. This
* class is part of the internal API.
*
* @author Mark Paluch
*/
From source file net.floodlightcontroller.hasupport.ServerExceptionHandler.java
public class ServerExceptionHandler implements ChannelHandler { private static final Logger logger = LoggerFactory.getLogger(ServerExceptionHandler.class); @Override public void exceptionCaught(ChannelHandlerContext ctx, Throwable exp) throws Exception {
From source file org.apache.activemq.artemis.core.remoting.impl.netty.ConnectionCreator.java
public interface ConnectionCreator extends ChannelHandler { NettyServerConnection createConnection(final ChannelHandlerContext ctx, String protocol, boolean httpEnabled) throws Exception; }
From source file org.apache.activemq.core.remoting.impl.netty.ConnectionCreator.java
public interface ConnectionCreator extends ChannelHandler { NettyServerConnection createConnection(final ChannelHandlerContext ctx, String protocol, boolean httpEnabled) throws Exception; }
From source file org.apache.camel.component.netty4.ChannelHandlerFactory.java
/**
* Factory for creating new {@link ChannelHandler} used for non shareable
* encoders and decoders configured on the Camel {@link NettyComponent}.
* <p/>
* This is needed as Netty's {@link ChannelHandler} is often not shareable
* and therefore a new instance must be created when a handler is being
From source file org.apache.drill.exec.rpc.RpcExceptionHandler.java
public class RpcExceptionHandler<C extends RemoteConnection> implements ChannelHandler { static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(RpcExceptionHandler.class); private final C connection; public RpcExceptionHandler(C connection) {
From source file org.apache.tinkerpop.gremlin.driver.Channelizer.java
/**
* Client-side channel initializer interface. It is responsible for constructing the Netty {@code ChannelPipeline}
* used by the client to connect and send message to Gremlin Server.
*
* @author Stephen Mallette (http://stephen.genoprime.com)
*/
From source file org.apache.tinkerpop.gremlin.server.Channelizer.java
/**
* An interface that makes it possible to plugin different Netty pipelines to Gremlin Server, enabling the use of
* different protocols, mapper security and other such functions. A {@code Channelizer} implementation can be
* configured in Gremlin Server with the {@code channelizer} setting in the configuration file.
*
* @author Stephen Mallette (http://stephen.genoprime.com)