X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2Fnet%2FListener.java;fp=src%2Forg%2Fibex%2Fnet%2FListener.java;h=6f8ca8a360c0387511dde00c2c7ef53bae5f0d04;hb=7735cf437325b0e96556494a5adb95ec6f76cfce;hp=0000000000000000000000000000000000000000;hpb=0938d452ee4daf891d1da2445eb50e103e51a12a;p=org.ibex.net.git 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); + +}