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

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

Introduction

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

Usage

From source file org.spout.api.protocol.MessagePrintingHandler.java

/**
 * A {@link SimpleChannelHandler} that prints messages that are sent and received
 */
public class MessagePrintingHandler extends ChannelDuplexHandler {

    @Override

From source file org.teiid.transport.SSLAwareChannelHandler.java

/**
 * Main class for creating Netty Nio Channels
 */

@Sharable
public class SSLAwareChannelHandler extends ChannelDuplexHandler {

From source file org.traccar.handler.NetworkMessageHandler.java

public class NetworkMessageHandler extends ChannelDuplexHandler {

    @Override
    public void channelRead(ChannelHandlerContext ctx, Object msg) {
        if (ctx.channel() instanceof DatagramChannel) {
            DatagramPacket packet = (DatagramPacket) msg;

From source file org.traccar.handler.OpenChannelHandler.java

public class OpenChannelHandler extends ChannelDuplexHandler {

    private final TrackerServer server;

    public OpenChannelHandler(TrackerServer server) {
        this.server = server;

From source file org.traccar.handler.StandardLoggingHandler.java

public class StandardLoggingHandler extends ChannelDuplexHandler {

    private static final Logger LOGGER = LoggerFactory.getLogger(StandardLoggingHandler.class);

    private final String protocol;

From source file org.vertx.java.core.net.impl.VertxHandler.java

/**
 * @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a>
 */
public abstract class VertxHandler<C extends ConnectionBase> extends ChannelDuplexHandler {
    protected final VertxInternal vertx;
    protected final Map<Channel, C> connectionMap;

From source file org.waarp.ftp.core.data.handler.ftps.FtpsTemporaryFirstHandler.java

/**
 * @author "Frederic Bregier"
 *
 */
public class FtpsTemporaryFirstHandler extends ChannelDuplexHandler {
    /**

From source file org.wso2.carbon.http2.transport.util.Http2ClientHandler.java

/**
 * Sending requests and receiving responses from a backend server
 */
public class Http2ClientHandler extends ChannelDuplexHandler {

    private static final Log log = LogFactory.getLog(Http2ClientHandler.class);

From source file org.wso2.carbon.inbound.endpoint.protocol.http2.InboundHttp2SourceHandler.java

/**
 * Handle Inbound Endpoint Requests and Responses
 */
@Sharable
public class InboundHttp2SourceHandler extends ChannelDuplexHandler {
    private static final Log log = LogFactory.getLog(InboundHttp2SourceHandler.class);

From source file org.wso2.esb.integration.common.utils.servers.http2.Http2Handler.java

public class Http2Handler extends ChannelDuplexHandler {

    private static final Log log = LogFactory.getLog(Http2Handler.class);
    public static final ByteBuf DATA_RESPONSE = unreleasableBuffer(copiedBuffer(
            "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"><soapenv:Body><ns:getQuoteResponse xmlns:ns=\"http://services.samples\"><ns:return xmlns:ax21=\"http://services.samples/xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"ax21:GetQuoteResponse\"><ax21:change>4.355291912708564</ax21:change><ax21:earnings>12.138178985496905</ax21:earnings><ax21:high>170.70158142117154</ax21:high><ax21:last>163.97644300968693</ax21:last><ax21:lastTradeTimestamp>Tue Sep 20 11:49:14 IST 2016"
                    + "</ax21:lastTradeTimestamp><ax21:low>-160.7773112104583"