List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file alluxio.worker.netty.DataServerWriteHandler.java
/**
* This class handles {@link alluxio.proto.dataserver.Protocol.WriteRequest}s.
*
* Protocol: Check {@link alluxio.client.block.stream.NettyPacketWriter} for more information.
* 1. The netty channel handler streams packets from the channel and buffers them. The netty
* reader is paused if the buffer is full by turning off the auto read, and is resumed when
From source file alluxio.worker.netty.HeartbeatHandler.java
/** * A handler for heartbeat events. */ public class HeartbeatHandler extends ChannelInboundHandlerAdapter { /** * Constructs a new heartbeat handler.
From source file alluxio.worker.netty.RPCHandler.java
/** * Netty handler that handles any stateless data server RPCs. */ @NotThreadSafe class RPCHandler extends ChannelInboundHandlerAdapter { private static final Logger LOG = LoggerFactory.getLogger(RPCHandler.class);
From source file alluxio.worker.netty.ShortCircuitBlockReadHandler.java
/** * Netty handler that handles short circuit read requests. */ @NotThreadSafe class ShortCircuitBlockReadHandler extends ChannelInboundHandlerAdapter { private static final Logger LOG = LoggerFactory.getLogger(ShortCircuitBlockReadHandler.class);
From source file alluxio.worker.netty.ShortCircuitBlockWriteHandler.java
/** * Netty handler that handles short circuit read requests. */ @NotThreadSafe class ShortCircuitBlockWriteHandler extends ChannelInboundHandlerAdapter { private static final Logger LOG = LoggerFactory.getLogger(ShortCircuitBlockWriteHandler.class);
From source file alluxio.worker.netty.UnsupportedMessageHandler.java
/**
* Netty handler which replies to the client with an unknown message error for message types
* which are no longer supported.
*/
@ChannelHandler.Sharable
@ThreadSafe
From source file appium.android.server.http.ServerHandler.java
public class ServerHandler extends ChannelInboundHandlerAdapter { private final static Logger LOGGER = Logger.getLogger(ServerHandler.class.getName()); private List<HttpServlet> httpHandlers; public ServerHandler(List<HttpServlet> handlers) { this.httpHandlers = handlers;
From source file basic.TimeClientHandler.java
/** * @author lilinfeng * @date 2014214 * @version 1.0 */ public class TimeClientHandler extends ChannelInboundHandlerAdapter {
From source file basic.TimeServerHandler.java
/** * @author lilinfeng * @version 1.0 * @date 2014214 */ public class TimeServerHandler extends ChannelInboundHandlerAdapter {
From source file blazingcache.network.netty.DataMessageDecoder.java
/** * Decodes bytes to messages * * @author enrico.olivelli */ public class DataMessageDecoder extends ChannelInboundHandlerAdapter {