added Listener
authoradam <adam@megacz.com>
Wed, 28 Feb 2007 06:48:36 +0000 (06:48 +0000)
committeradam <adam@megacz.com>
Wed, 28 Feb 2007 06:48:36 +0000 (06:48 +0000)
darcs-hash:20070228064836-5007d-ae9e88f6e0a8b094de0444f200dac6841930d9ba.gz

src/org/ibex/net/Listener.java [new file with mode: 0644]

diff --git a/src/org/ibex/net/Listener.java b/src/org/ibex/net/Listener.java
new file mode 100644 (file)
index 0000000..6f8ca8a
--- /dev/null
@@ -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);
+
+}