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.jupiter.transport.netty.handler.IdleStateChecker.java

/**
 *  {@link HashedWheelTimer} .
 *
 *  1. Netty4.xeventLoopdelayQueue, delayQueue, ??O(log n),
 *      ?worker?, ???, IO?idle?.
 *  2. {@link HashedWheelTimer}??O(1), IO?idle??, ?.

From source file org.neo4j.bolt.transport.WebSocketFrameTranslator.java

/**
 * Translates websocket frames to bytebufs, and bytebufs to frames. Intermediary layer between our binary protocol
 * and nettys built-in websocket handlers.
 */
public class WebSocketFrameTranslator extends ChannelDuplexHandler {
    @Override

From source file org.onosproject.ofagent.impl.OFChannelHandler.java

/**
 * Implementation of OpenFlow channel handler.
 * It processes OpenFlow message according to the channel state.
 */
public final class OFChannelHandler extends ChannelDuplexHandler {

From source file org.onosproject.openflow.controller.impl.HandshakeTimeoutHandler.java

/**
 * Trigger a timeout if a switch fails to complete handshake soon enough.
 */
public class HandshakeTimeoutHandler extends ChannelDuplexHandler {

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

From source file org.opendaylight.capwap.dtls.DtlsHandler.java

public abstract class DtlsHandler extends ChannelDuplexHandler {

    //private static final Logger log = LoggerFactory.getLogger(org.opendaylight.capwap.dtls.DtlsHandler.class);
    private static final Logger log = LoggerFactory.getLogger(DtlsHandler.class);
    int counter = 0;

From source file org.opendaylight.usc.crypto.dtls.DtlsHandler.java

public abstract class DtlsHandler extends ChannelDuplexHandler {

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

    public static class ChannelContext {
        public final ChannelHandlerContext ctx;

From source file org.pliers.netty.handler.IdleStateChecker.java

/**
 *  {@link HashedWheelTimer} .
 *
 *  1. Netty4.xeventLoopdelayQueue, delayQueue, ??O(log n),
 *      ?worker?, ???, IO?idle?.
 *  2. {@link HashedWheelTimer}??O(1), IO?idle??, ?.

From source file org.shelloid.vpt.agent.App.java

class ShelloidIdleTimeHandler extends ChannelDuplexHandler {

    @Override
    public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
        if (evt instanceof IdleStateEvent) {
            switch (((IdleStateEvent) evt).state()) {

From source file org.shelloid.vpt.rms.server.VPTServer.java

class ShelloidIdleTimeHandler extends ChannelDuplexHandler {

    @Override
    public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception {
        if (evt instanceof IdleStateEvent) {
            switch (((IdleStateEvent) evt).state()) {

From source file org.skfiy.typhon.net.Netty4EndpointHandler.java

/**
 *
 * @author Kevin Zou <kevinz@skfiy.org>
 */
@Sharable
public class Netty4EndpointHandler extends ChannelDuplexHandler {