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.crystal.chat.SecureChatClientHandler.java

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

    @Override

From source file com.crystal.chat.SecureChatServerHandler.java

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

    public String getUserlist() {

From source file com.cssweb.network.NettyClientHandler.java

/**
 * Handler for a client-side channel.  This handler maintains stateful
 * information which is specific to a certain channel using member variables.
 * Therefore, an instance of this handler can cover only one channel.  You have
 * to create a new handler instance whenever you create a new channel and insert
 * this handler to avoid a race condition.

From source file com.cssweb.network.NettyServerHandler.java

public class NettyServerHandler extends SimpleChannelInboundHandler<CustomMessage> {

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

    private BlockingQueue<CustomMessage> queue;

From source file com.cssweb.payment.posp.client.NettyClientHandler.java

public class NettyClientHandler extends SimpleChannelInboundHandler<CustomMessage> {
    private static final Logger logger = LogManager.getLogger(NettyClientHandler.class.getName());

    private ChannelHandlerContext ctx;

    final BlockingQueue<CustomMessage> answer = new LinkedBlockingQueue<CustomMessage>();

From source file com.cssweb.payment.posp.server.NettyServerHandler.java

public class NettyServerHandler extends SimpleChannelInboundHandler<CustomMessage> {

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

    private POSPClient client;

From source file com.curlymaple.server.ServerHandler.java

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

From source file com.dempe.ketty.srv.http.HttpStaticFileServerHandler.java

/**
 * A simple handler that serves incoming HTTP requests to send their respective
 * HTTP responses.  It also implements {@code 'If-Modified-Since'} header to
 * take advantage of browser cache, as described in
 * <a href="http://tools.ietf.org/html/rfc2616#section-14.25">RFC 2616</a>.
 * <p/>

From source file com.dh.netty.NettyServerHandler.java

@Component
@Sharable
public class NettyServerHandler extends SimpleChannelInboundHandler<NettyMessageVO> {
    public final static int MODE_NORMAL = 0;
    public final static int MODE_DEBUG = 1;
    public final static int MODE_STOP = 2;

From source file com.digisky.innerproxy.server.InnerProxyHttpServerHandler.java

public class InnerProxyHttpServerHandler extends SimpleChannelInboundHandler<Object> {

    private HttpRequest request;

    @Override
    public void channelReadComplete(ChannelHandlerContext ctx) {