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

com.github.ltsopensource.nio.handler.EmptyHandler Maven / Gradle / Ivy

package com.github.ltsopensource.nio.handler;

import com.github.ltsopensource.nio.channel.NioChannel;
import com.github.ltsopensource.nio.idle.IdleState;

/**
 * @author Robert HG ([email protected]) on 1/24/16.
 */
public class EmptyHandler implements NioHandler {

    @Override
    public void exceptionCaught(NioChannel connection, Exception cause) {

    }

    @Override
    public void messageReceived(NioChannel connection, Object msg) throws Exception {

    }

    @Override
    public void channelConnected(NioChannel connection) {

    }

    @Override
    public void channelIdle(NioChannel channel, IdleState state) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy