com.fuxi.javaagent.contentobjects.jnotify.linux
Class JNotifyAdapterLinux

java.lang.Object
  extended by com.fuxi.javaagent.contentobjects.jnotify.linux.JNotifyAdapterLinux
All Implemented Interfaces:
IJNotify

public class JNotifyAdapterLinux
extends Object
implements IJNotify

TODO : added by omry at Dec 11, 2005 : Handle move events


Constructor Summary
JNotifyAdapterLinux()
           
 
Method Summary
 int addWatch(String path, int mask, boolean watchSubtree, JNotifyListener listener)
           
protected  void notifyChangeEvent(String name, int linuxWd, int linuxMask, int cookie)
           
 boolean removeWatch(int wd)
           
 int unitTest_getNumWatches()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNotifyAdapterLinux

public JNotifyAdapterLinux()
Method Detail

addWatch

public int addWatch(String path,
                    int mask,
                    boolean watchSubtree,
                    JNotifyListener listener)
             throws JNotifyException
Specified by:
addWatch in interface IJNotify
Throws:
JNotifyException

removeWatch

public boolean removeWatch(int wd)
                    throws JNotifyException
Specified by:
removeWatch in interface IJNotify
Throws:
JNotifyException

notifyChangeEvent

protected void notifyChangeEvent(String name,
                                 int linuxWd,
                                 int linuxMask,
                                 int cookie)

unitTest_getNumWatches

public int unitTest_getNumWatches()


Copyright © 2018. All rights reserved.