X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjinetd%2FListener.java;h=a645cc62cbc781f9a577ccd12aaab26c9536ea72;hb=8c3227dda12abaa856c255d27c3811e9c29167e3;hp=caf50fbbc25701b4b2ef67d5e018643f808fbc01;hpb=7b717a47e5def749c6913e4019801ce4a9225f01;p=org.ibex.jinetd.git diff --git a/src/org/ibex/jinetd/Listener.java b/src/org/ibex/jinetd/Listener.java index caf50fb..a645cc6 100644 --- a/src/org/ibex/jinetd/Listener.java +++ b/src/org/ibex/jinetd/Listener.java @@ -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); }