List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file com.aerofs.baseline.http.RequestHeaderAssigner.java
@ThreadSafe @ChannelHandler.Sharable final class RequestHeaderAssigner extends ChannelInboundHandlerAdapter { private static final Logger LOGGER = LoggerFactory.getLogger(RequestHeaderAssigner.class); private static final Random RANDOM = new Random();
From source file com.agrn.senqm.network.connection.ConnectionHandler.java
public class ConnectionHandler extends ChannelInboundHandlerAdapter { private final Connection connection; public ConnectionHandler(Connection connection) { this.connection = connection; }
From source file com.alibaba.middleware.race.mom.netty.NettyClientHandler.java
/** * Handler implementation for the echo client. It initiates the ping-pong * traffic between the echo client and server by sending the first message to * the server. */ public class NettyClientHandler extends ChannelInboundHandlerAdapter {
From source file com.alibaba.middleware.race.mom.netty.NettyServerHandler.java
/** * Handler implementation for the echo server. */ @Sharable public class NettyServerHandler extends ChannelInboundHandlerAdapter { private static final Logger LOG = Logger.getLogger(NettyServerHandler.class.getCanonicalName());
From source file com.allanbank.mongodb.netty.NettyReplyHandler.java
/** * NettyReplyHandler provides a class to handle replies in the Netty pipeline. * * @copyright 2015, Allanbank Consulting, Inc., All Rights Reserved */ final class NettyReplyHandler extends ChannelInboundHandlerAdapter {
From source file com.alltobid.quotabid.BidClientHandler.java
@Sharable public class BidClientHandler extends ChannelInboundHandlerAdapter { private final Logger logger = LoggerFactory.getLogger(BidClientHandler.class); private final List<BidClientHandlerListener> listeners = new ArrayList<BidClientHandlerListener>(); private final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
From source file com.andy.grpc.proxy.HexDumpProxyBackendHandler.java
class HexDumpProxyBackendHandler extends ChannelInboundHandlerAdapter { private final Channel inboundChannel; HexDumpProxyBackendHandler(Channel inboundChannel) { this.inboundChannel = inboundChannel;
From source file com.antsdb.saltedfish.server.mysql.MysqlClientHandler.java
public class MysqlClientHandler extends ChannelInboundHandlerAdapter { static Logger _log = UberUtil.getThisLogger(); SaltedFish fish; Session session;
From source file com.antsdb.saltedfish.server.mysql.MysqlServerHandler.java
public class MysqlServerHandler extends ChannelInboundHandlerAdapter implements MysqlConstant { final static int SERVER_VERSION_LENGTH = 60; final static int HEADER_LENGTH = 4; static Logger _log = UberUtil.getThisLogger(); // public static String DEFAULT_CHARSET = "UFT8"; public static String SERVER_VERSION = Orca.VERSION;
From source file com.avanza.astrix.netty.client.NettyRemotingClientHandler.java
public class NettyRemotingClientHandler extends ChannelInboundHandlerAdapter { public static final String NETTY_RESPONSE_SUBSCRIBER_ID = "netty.responseSubscriberId"; private volatile ChannelHandlerContext ctx; private ConcurrentMap<String, Subscriber<? super AstrixServiceInvocationResponse>> subscriberBySubscriberId = new ConcurrentHashMap<>();