From 7735cf437325b0e96556494a5adb95ec6f76cfce Mon Sep 17 00:00:00 2001 From: adam Date: Wed, 28 Feb 2007 06:48:36 +0000 Subject: [PATCH] added Listener darcs-hash:20070228064836-5007d-ae9e88f6e0a8b094de0444f200dac6841930d9ba.gz --- src/org/ibex/net/Listener.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/org/ibex/net/Listener.java 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); + +} -- 1.7.10.4