package com.wizzardo.http;

import com.wizzardo.epoll.Connection;

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

    default public void onReady(C connection) {
    }
}

@@ -166,23 +166,16 @@
 %3E %7B%0A    
-public 
 void onR
@@ -213,23 +213,16 @@
 default 
-public 
 void onR
@@ -247,11 +247,64 @@
  %7B%0A    %7D
+%0A%0A    default void onDisconnect(C connection) %7B%0A    %7D
 %0A%7D%0A

add onDisconnect