package games.strategy.net.nio; import java.nio.channels.SocketChannel; public interface IErrorReporter { /** * An io error occurred while reading or writing to the socket, and it should be removed from the network. */ void error(SocketChannel channel, Exception e); }