List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file com.siondream.superjumper.net.EchoServerHandler.java
/** * Handler implementation for the echo server. */ @Sharable public class EchoServerHandler extends ChannelInboundHandlerAdapter {
From source file com.sitech.crmpd.idmm2.ble.EchoClient.java
class ConsumerClientHandler extends ChannelInboundHandlerAdapter { private String clientid; private String target_topic; public ConsumerClientHandler(String clientid, String target_topic) { this.clientid = clientid;
From source file com.slyak.services.proxy.handler.IdleEventHandler.java
/**
* .
*
* @author stormning 2017/4/21
* @since 1.3.0
*/
From source file com.soho.framework.server.netty.http.AsyncHttpServletHandler.java
public class AsyncHttpServletHandler extends ChannelInboundHandlerAdapter { private static final Logger logger = LoggerFactory.getLogger(AsyncHttpServletHandler.class); @Override public void channelRead(ChannelHandlerContext ctx, Object e) throws Exception {
From source file com.soho.framework.server.netty.http.HttpServletHandler.java
/**
* ??<code>HttpServletHandler</code>Netty {@link io.netty.channel.ChannelHandler} <b>?.</p>
* ?HTTP?Spring MVC??
* Note:??Servlet?Job{@link AsyncHttpServletHandler}?
*
* @author andy.zheng0807@gmail.com
From source file com.splicemachine.stream.ResultStreamer.java
/** * Created by dgomezferro on 5/25/16. */ public class ResultStreamer<T> extends ChannelInboundHandlerAdapter implements Function2<Integer, Iterator<T>, Iterator<String>>, Serializable { private static final Logger LOG = Logger.getLogger(ResultStreamer.class);
From source file com.splicemachine.stream.StreamListener.java
/**
* This class handles connections from Spark tasks streaming data to the query client. One connection is created from
* each task, it handles failures and recovery in case the task is retried.
*
* Created by dgomezferro on 5/20/16.
*/
From source file com.splicemachine.stream.StreamListenerServer.java
/** * Created by dgomezferro on 5/20/16. */ @ChannelHandler.Sharable public class StreamListenerServer<T> extends ChannelInboundHandlerAdapter { private static final Logger LOG = Logger.getLogger(StreamListenerServer.class);
From source file com.spotify.ffwd.input.InputChannelInboundHandler.java
@Slf4j @Sharable public class InputChannelInboundHandler extends ChannelInboundHandlerAdapter { @Inject private InputManager input;
From source file com.spotify.ffwd.riemann.RiemannResponder.java
@Sharable public class RiemannResponder extends ChannelInboundHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception { ctx.channel().writeAndFlush(ack(true)); ctx.fireChannelRead(msg);