package com.wizzardo.http;

import com.wizzardo.epoll.Connection;

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

    default void onReady(C connection) {
    }

    default void onDisconnect(C connection) {
    }
}

@@ -60,16 +60,43 @@
 ction;%0A%0A
+import java.io.Closeable;%0A%0A
 /**%0A * @
@@ -186,16 +186,34 @@
 nection%3E
+ extends Closeable
  %7B%0A    v
@@ -296,60 +296,7 @@
    %7D
-%0A%0A    default void onDisconnect(C connection) %7B%0A    %7D
 %0A%7D%0A

change api to closeable