Module pyinotify :: Class Watch
[show private | hide private]
[frames | no frames]

Type Watch

object --+
         |
        Watch


Represent a watch, i.e. a file or directory being watched.
Method Summary
  __init__(self, wd, path, mask, proc_fun, auto_add)
Initializations.
undefined __getattribute__(self, name)
Override default behavior to add locking instructions.
  __setattr__(self, name, value)
Override default behavior to add locking instructions.
str __str__(self)
Return string representation.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del 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
  __repr__(x)
x.__repr__() <==> repr(x)

Method Details

__init__(self, wd, path, mask, proc_fun, auto_add)
(Constructor)

Initializations.
Parameters:
wd - Watch descriptor.
           (type=int)
path - Path of the file or directory being watched.
           (type=str)
mask - Mask.
           (type=int)
proc_fun - Processing object.
           (type=)
auto_add - Automatically add watches on new directories.
           (type=bool)
Overrides:
__builtin__.object.__init__

__getattribute__(self, name)

Override default behavior to add locking instructions.
Parameters:
name - Attribute name.
           (type=str)
Returns:
Attribute value.
           (type=undefined)
Overrides:
__builtin__.object.__getattribute__

__setattr__(self, name, value)

Override default behavior to add locking instructions.
Parameters:
name - Attribute name.
           (type=str)
value - new value.
           (type=undefined)
Overrides:
__builtin__.object.__setattr__

__str__(self)
(Informal representation operator)

Returns:
String representation.
           (type=str)
Overrides:
__builtin__.object.__str__

Generated by Epydoc 2.1 on Sat Feb 17 02:40:18 2007 http://epydoc.sf.net