Module inotify :: Class ProcINotify
[show private | hide private]
[frames | no frames]

Type ProcINotify

object --+    
         |    
 FileTools --+
             |
            ProcINotify

Known Subclasses:
MaxQueuedEvents, MaxUserInstances, MaxUserWatches

Manipulate inotify's variables through their representation in the inotify's directory of proc fs.
Method Summary
  __repr__(self)
str or RuntimeError get_inotify_proc_path()
static method, old style (for python 2.4.3 compatibility) (Static method)
int get_val(self)
Return stored value.
  set_val(self, nval)
    Inherited from FileTools
  __init__(self, fpath)
str read(self)
Read content from self._fpath and return it.
  write(self, data)
Write data to self._fpath.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
  value

Class Variable Summary
str INOTIFY_PROC_PATH: inotify directory's path.

Instance Method Details

get_val(self)

Returns:
stored value.
           (type=int)

set_val(self, nval)

Parameters:
nval - replace current val by nval.
           (type=int)

Static Method Details

get_inotify_proc_path()

static method, old style (for python 2.4.3 compatibility)
Returns:
inotify's proc path or raise an exception if it couldn't locate this path.
           (type=str or RuntimeError)

Property Details

value

Get Method:
get_val(self)
Set Method:
set_val(self, nval)

Class Variable Details

INOTIFY_PROC_PATH

inotify directory's path.
Type:
str

Generated by Epydoc 2.1 on Wed Mar 29 03:46:06 2006 http://epydoc.sf.net