class documentation

class SingleFileEventHandler(FileEventHandlerBase):

View In Hierarchy

Handle modify events for a single file.

Method __init__ Constructor for SingleFileEventHandler
Method disable Stop watching the given file.
Method enable Watch the given file.
Method process_IN_IGNORED Undocumented
Method process_IN_MODIFY Undocumented
Instance Variable _callback Undocumented
Instance Variable _filename Undocumented
Instance Variable _watch_handle Undocumented

Inherited from FileEventHandlerBase:

Method AddWatch Adds a file watch.
Method process_default Undocumented
Method RemoveWatch Removes a handle from the watcher.
Instance Variable watch_manager Inotify watch manager
def __init__(self, watch_manager, callback, filename):

Constructor for SingleFileEventHandler

Parameters
watch_manager:pyinotify.WatchManagerinotify watch manager
callback:function accepting a booleanfunction to call when an inotify event happens
filename:stringconfig file to watch
def disable(self):

Stop watching the given file.

def enable(self):

Watch the given file.

def process_IN_IGNORED(self, event):

Undocumented

def process_IN_MODIFY(self, event):

Undocumented

_callback =

Undocumented

_filename =

Undocumented

_watch_handle =

Undocumented