| Trees | Index | Help |
|
|---|
| Module pyinotify :: Class ThreadedINotify |
|
object --+
|
SimpleINotify --+
|
object --+ |
| |
_Verbose --+ |
| |
Thread --+
|
ThreadedINotify
| Method Summary | |
|---|---|
Initialization, initialize parents classes. | |
Start the thread's task: Read and process events forever (until the method stop() is called). | |
Stop the thread, close the inotify's instance. | |
| Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Inherited from _Verbose | |
| |
| Inherited from SimpleINotify | |
| dict of str: int |
Add watch(es) on given path(s) with the specified mask and optionnally with a processing function. |
Close the inotify's instance (close its file descriptor). | |
Check for inotify events | |
| string or None |
Returns the path associated to WD, if WD doesn't exist or is inactive None is returned. |
| int or None |
Returns the watch descriptor associated to path, if path couldn't be retrieved or is inactive None is returned. |
Process events from queue by calling their associated proccessing function (or functor). | |
Read events from device and enqueue them. | |
| dict of int: bool |
Removes watch(es). |
| dict of int: bool |
Update existing watch(es). |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
| Class Variable Summary | |
|---|---|
| Inherited from Thread | |
bool |
_Thread__initialized = False
|
| Method Details |
|---|
__init__(self)
Initialization, initialize parents classes.
|
run(self)Start the thread's task: Read and process events forever (until the method stop() is called). Don't call this method directly, instead call the start() method inherited from threading.Thread.
|
stop(self)Stop the thread, close the inotify's instance. |
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Mar 29 03:46:06 2006 | http://epydoc.sf.net |