From: adam Date: Wed, 28 Feb 2007 06:48:36 +0000 (+0000) Subject: added Listener X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=7735cf437325b0e96556494a5adb95ec6f76cfce;p=org.ibex.net.git added Listener darcs-hash:20070228064836-5007d-ae9e88f6e0a8b094de0444f200dac6841930d9ba.gz --- diff --git a/src/org/ibex/net/Listener.java b/src/org/ibex/net/Listener.java new file mode 100644 index 0000000..6f8ca8a --- /dev/null +++ b/src/org/ibex/net/Listener.java @@ -0,0 +1,14 @@ +// 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.net; +import java.net.*; +import org.ibex.io.*; + +public interface Listener { + + /** returns false if the connection was not handled */ + public boolean accept(Connection c); + +}