List of usage examples for io.netty.channel ChannelInboundHandlerAdapter subclass-usage
From source file com.github.vitrifiedcode.javautilities.netty.DiscardServerHandler.java
public class DiscardServerHandler extends ChannelInboundHandlerAdapter { @Override public void channelRead(ChannelHandlerContext ctx, Object msg) { ByteBuf in = (ByteBuf) msg; try { while (in.isReadable()) {
From source file com.gmail.ipshuvaev.server.CustomHttpHandler.java
/** * ? http-? */ public class CustomHttpHandler extends ChannelInboundHandlerAdapter { private StringBuilder requestData = new StringBuilder();
From source file com.google.cloud.pubsub.proxy.moquette.PubsubHandler.java
/** * This class is a handler that invokes the Pubsub operations on receiving a MQTT message * and then invokes the MQTT handler. */ @Sharable public class PubsubHandler extends ChannelInboundHandlerAdapter {
From source file com.grillecube.client.network.ClientNetwork.java
class TimeClientHandler extends ChannelInboundHandlerAdapter { /** on connect */ @Override public void channelActive(ChannelHandlerContext ctx) throws Exception { // onConnect
From source file com.grillecube.engine.network.client.ClientNetwork.java
class TimeClientHandler extends ChannelInboundHandlerAdapter { // onConnect @Override public void channelActive(ChannelHandlerContext ctx) throws Exception { // onConnect // new PacketString("Hello World").send(ctx.channel());
From source file com.grillecube.engine.network.server.MessageHandler.java
/** * Handles a server-side channel. */ public class MessageHandler extends ChannelInboundHandlerAdapter { private UserRegister _user_register;
From source file com.grillecube.server.network.MessageHandler.java
/** * Handles a server-side channel. */ public class MessageHandler extends ChannelInboundHandlerAdapter { private UserRegister _user_register;
From source file com.hazelcast.openshift.TunnelServerConnector.java
class TunnelServerConnector extends ChannelInboundHandlerAdapter { private final EventLoopGroup workerGroup; private final String httpHost; private final int httpPort; private final boolean ssl;
From source file com.hazelcast.simulator.protocol.handler.ConnectionHandler.java
/**
* Validates new connections by checking the magic bytes of the first incoming {@link ByteBuf}.
*
* Removes itself from the channel pipeline after successful validation, since big {@link ByteBuf}
* can be split up into several chunks and just the first one contains the magic bytes.
*/
From source file com.hazelcast.simulator.protocol.handler.ConnectionListenerHandler.java
/** * Listens for new connections and registers them in the configured {@link ConnectionListener}. */ public class ConnectionListenerHandler extends ChannelInboundHandlerAdapter { private final ConnectionListener connectionListener;