licensing update to APSL 2.0
[org.ibex.jinetd.git] / src / org / ibex / jinetd / Watcher.java
1 // Copyright 2000-2005 the Contributors, as shown in the revision logs.
2 // Licensed under the Apache Public Source License 2.0 ("the License").
3 // You may not use this file except in compliance with the License.
4
5 package org.ibex.jinetd;
6 import org.ibex.util.*;
7 import java.io.*;
8 import java.util.*;
9
10 public abstract class Watcher extends Watched {
11     protected Watcher(String path) { super(path); }
12     public Watcher watcher() { return this; }
13     public abstract void changed(Watched w);
14     public synchronized void scan() throws IOException { super.scan(); }
15 }