Example usage for io.netty.channel SimpleChannelInboundHandler subclass-usage

List of usage examples for io.netty.channel SimpleChannelInboundHandler subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel SimpleChannelInboundHandler subclass-usage.

Usage

From source file com.hxr.javatone.concurrency.netty.official.telnet.TelnetClientHandler.java

/**
 * Handles a client-side channel.
 */
@Sharable
public class TelnetClientHandler extends SimpleChannelInboundHandler<String> {

From source file com.hxr.javatone.concurrency.netty.official.telnet.TelnetServerHandler.java

/**
 * Handles a server-side channel.
 */
@Sharable
public class TelnetServerHandler extends SimpleChannelInboundHandler<String> {

From source file com.hxr.javatone.concurrency.netty.official.uptime.UptimeClientHandler.java

/**
 * Keep reconnecting to the server while printing out the current uptime and
 * connection attempt getStatus.
 */
@Sharable
public class UptimeClientHandler extends SimpleChannelInboundHandler<Object> {

From source file com.hxr.javatone.concurrency.netty.official.worldclock.WorldClockClientHandler.java

public class WorldClockClientHandler extends SimpleChannelInboundHandler<LocalTimes> {

    private static final Logger logger = Logger.getLogger(WorldClockClientHandler.class.getName());

    private static final Pattern DELIM = Pattern.compile("/");

From source file com.hxr.javatone.concurrency.netty.official.worldclock.WorldClockServerHandler.java

public class WorldClockServerHandler extends SimpleChannelInboundHandler<Locations> {

    private static final Logger logger = Logger.getLogger(WorldClockServerHandler.class.getName());

    @Override
    public void messageReceived(ChannelHandlerContext ctx, Locations locations) throws Exception {

From source file com.hzq.nio.http.HttpFileServerHandler.java

/**
 * @author lilinfeng
 * @version 1.0
 * @date 2014214
 */
public class HttpFileServerHandler extends SimpleChannelInboundHandler<FullHttpRequest> {

From source file com.hzq.nio.websocket.WebSocketServerHandler.java

/**
 * @author lilinfeng
 * @version 1.0
 * @date 2014214
 */
public class WebSocketServerHandler extends SimpleChannelInboundHandler<Object> {

From source file com.ibasco.agql.protocols.valve.source.query.handlers.SourceRconResponseRouter.java

public class SourceRconResponseRouter extends SimpleChannelInboundHandler<Object> {

    private static final Logger log = LoggerFactory.getLogger(SourceRconResponseRouter.class);

    private BiConsumer<SourceRconResponse, Throwable> responseCallback;

From source file com.ibasco.agql.protocols.valve.source.query.logger.SourceLogListenHandler.java

/**
 * Created by raffy on 10/25/2016.
 */
public class SourceLogListenHandler extends SimpleChannelInboundHandler<DatagramPacket> {

    private Consumer<SourceLogEntry> logEventCallback;

From source file com.ibm.crail.datanode.netty.client.IncomingResponseHandler.java

public class IncomingResponseHandler extends SimpleChannelInboundHandler<RdmaMsgRx> {
    private NettyEndpointGroup group;

    public IncomingResponseHandler(NettyEndpointGroup grp) {
        this.group = grp;
    }