projects
/
org.ibex.net.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0938d45
)
added Listener
author
adam
<adam@megacz.com>
Wed, 28 Feb 2007 06:48:36 +0000
(06:48 +0000)
committer
adam
<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]
patch
|
blob
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
+++ 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);
+
+}