t.i.i._Watch(object) : class documentation

Part of twisted.internet.inotify View Source View In Hierarchy

Watch object that represents a Watch point in the filesystem. The user should let INotify to create these objects
Instance Variable path The path over which this watch point is monitoring
Instance Variable mask The events monitored by this watchpoint
Instance Variable autoAdd Flag that determines whether this watch point should automatically add created subdirectories
Instance Variable callbacks list of callback functions that will be called when an event occurs on this watch.
Method __init__ Undocumented
Method _notify Callback function used by INotify to dispatch an event.
path =
The path over which this watch point is monitoring
mask =
The events monitored by this watchpoint
autoAdd =
Flag that determines whether this watch point should automatically add created subdirectories
callbacks =
list of callback functions that will be called when an event occurs on this watch.
def __init__(self, path, mask=IN_WATCH_MASK, autoAdd=False, callbacks=None): (source)
Undocumented
def _notify(self, filepath, events): (source)
Callback function used by INotify to dispatch an event.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.