All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.zodiac.sdk.simplenetty.handler.ChannelInboundHandlerAdapter Maven / Gradle / Ivy

There is a newer version: 1.6.8
Show newest version
package org.zodiac.sdk.simplenetty.handler;

import org.zodiac.sdk.simplenetty.enums.ChannelHandlerType;

public class ChannelInboundHandlerAdapter extends ChannelHandlerAdapter {

    public ChannelInboundHandlerAdapter() {
        type = ChannelHandlerType.IN_BOUND;
    }

    @Override
    public void channelActive(ChannelHandlerContext var1) throws Exception {

    }

    @Override
    public void channelInactive(ChannelHandlerContext var1) throws Exception {

    }

    @Override
    public Object channelRead(ChannelHandlerContext var1, Object var2) throws Exception {
        return null;
    }

    @Override
    public void channelReadComplete(ChannelHandlerContext var1) throws Exception {

    }

    @Override
    public Object channelWrite(ChannelHandlerContext var1, Object var2) throws Exception {
        return var2;
    }

    @Override
    public void channelWriteComplete(ChannelHandlerContext var1) throws Exception {

    }

    @Override
    public void exceptionCaught(ChannelHandlerContext var1, Throwable var2) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy