X-Git-Url: http://git.megacz.com/?p=org.ibex.jinetd.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fjinetd%2FWatcher.java;h=19a33d60b83643fbb35610e0e69f86e09043d167;hp=86b195855b838cdf22030d0463c0b46c3c0fb5a4;hb=70604175e53b4c6ca71a82108f35e74b1ac1993a;hpb=9219699b69ebb0c743d55862de0e43d43d270f49 diff --git a/src/org/ibex/jinetd/Watcher.java b/src/org/ibex/jinetd/Watcher.java index 86b1958..19a33d6 100644 --- a/src/org/ibex/jinetd/Watcher.java +++ b/src/org/ibex/jinetd/Watcher.java @@ -1,3 +1,7 @@ +// 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.jinetd; import org.ibex.util.*; import java.io.*; @@ -5,6 +9,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(); } }