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

com.github.ltsopensource.nio.handler.NioHandler 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 interface NioHandler {

    void exceptionCaught(NioChannel channel, Exception cause);

    void messageReceived(NioChannel channel, Object msg) throws Exception;

    void channelConnected(NioChannel channel);

    void channelIdle(NioChannel channel, IdleState state);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy