28ff915c61adc9dac97469b562f9fd2e1842ce5e
[vamsas.git] / src / uk / ac / vamsas / client / simpleclient / WatcherCallBack.java
1 package uk.ac.vamsas.client.simpleclient;\r
2 \r
3 /**\r
4  * Interface for VamsasFileWatcherElement call back events generated by the VamsasFileWatcherThread.\r
5  */\r
6 public interface WatcherCallBack {\r
7   /**\r
8    * \r
9    * @return true to enable watcher, or false to disable it in future WatcherThread cycles.\r
10    */\r
11   public boolean handleWatchEvent(WatcherElement watcher, Lock lock);\r
12 }\r