cleanup
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Listener.java
index caf50fb..a645cc6 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright 2000-2005 the Contributors, as shown in the revision logs.
+// Licensed under the Apache Public Source License 2.0 ("the License").
+// You may not use this file except in compliance with the License.
+
 package org.ibex.jinetd;
 import java.net.*;
 import org.ibex.io.*;
@@ -9,6 +13,7 @@ import org.ibex.io.*;
  */
 public interface Listener {
     
-    public void accept(Connection c);
+    /** returns false if the connection was not handled */
+    public boolean accept(Connection c);
 
 }