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.elephant.framework.network.telnet.netty.TelnetServerHandler.java

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

From source file com.emin.igwmp.skm.core.netty.handler.SocksServerConnectHandler.java

@ChannelHandler.Sharable
public final class SocksServerConnectHandler extends SimpleChannelInboundHandler<SocksMessage> {

    private final Bootstrap b = new Bootstrap();

    @Override

From source file com.emin.igwmp.skm.core.netty.handler.SocksServerHandler.java

@ChannelHandler.Sharable
@Service("socksServerHandler")
public final class SocksServerHandler extends SimpleChannelInboundHandler<String> {

    @Resource(name = "distributeService")
    DistributeService distributeService;

From source file com.example.iimp_znxj_new2014.netty.ServerHandler.java

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

    @Override

From source file com.fanavard.challenge.client.websocket.WebSocketClientHandler.java

public class WebSocketClientHandler extends SimpleChannelInboundHandler<Object> {

    private final WebSocketClientHandshaker handshaker;
    private ChannelPromise handshakeFuture;

    public WebSocketClientHandler(WebSocketClientHandshaker handshaker) {

From source file com.fanavard.challenge.server.websocket.server.WebSocketServerHandler.java

/**
 * Handles handshakes and messages
 */
public class WebSocketServerHandler extends SimpleChannelInboundHandler<Object> {

    private static final String WEBSOCKET_PATH = "/websocket";

From source file com.farsunset.cim.sdk.android.CIMConnectorManager.java

@Sharable
class CIMConnectorManager extends SimpleChannelInboundHandler<Object> {

    private final int CONNECT_TIMEOUT = 10 * 1000;// 
    private final int WRITE_TIMEOUT = 10 * 1000;// 

From source file com.farsunset.cim.sdk.client.CIMConnectorManager.java

/**
 * ??cim?????
 * 
 * @author 3979434@qq.com
 */
@Sharable

From source file com.farsunset.cim.sdk.server.handler.CIMNioSocketAcceptor.java

@Sharable
public class CIMNioSocketAcceptor extends SimpleChannelInboundHandler<SentBody> {

    /**
     * websocket??handler
     */

From source file com.fjn.helper.frameworkex.netty.v4.echotest.EchoClientHandler.java

public class EchoClientHandler extends SimpleChannelInboundHandler<ByteBuf> {

    public void channelActive(ChannelHandlerContext ctx) throws Exception {
        ctx.write(Unpooled.copiedBuffer("Netty rocks!", CharsetUtil.UTF_8));
    }