better listener detection/dispatch
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Watcher.java
index 86b1958..39edb17 100644 (file)
@@ -5,6 +5,7 @@ import java.util.*;
 
 public abstract class Watcher extends Watched {
     protected Watcher(String path) { super(path); }
-    public abstract void changed(Watched w);
     public Watcher watcher() { return this; }
+    public abstract void changed(Watched w);
+    public synchronized void scan() throws IOException { super.scan(); }
 }