package com.wizzardo.http;

import com.wizzardo.epoll.Connection;

import java.io.Closeable;

/**
 * @author: wizzardo
 * Date: 30.09.14
 */
public interface InputListener<C extends Connection> extends Closeable {
    void onReadyToRead(C connection);

    default void onReady(C connection) {
    }
}

@@ -85,16 +85,44 @@
 oseable;
+%0Aimport java.io.IOException;
 %0A%0A/**%0A *
@@ -320,11 +320,64 @@
  %7B%0A    %7D
+%0A%0A    default void close() throws IOException %7B%0A    %7D
 %0A%7D%0A

fix closeable