Module pyinotify :: Class ChainIfTrue
[hide private]
[frames] | no frames]

Class ChainIfTrue

source code


Makes conditional chaining depending on the result of the nested processing instance.

Instance Methods [hide private]
 
my_init(self, func)
Method automatically called from base class constructor.
source code
 
process_default(self, event)
Default processing event method.
source code

Inherited from ProcessEvent: __call__, __init__, nested_pevent, process_IN_Q_OVERFLOW

Inherited from _ProcessEvent: __repr__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from ProcessEvent: pevent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

my_init(self, func)

source code 

Method automatically called from base class constructor.

Parameters:
  • kargs - optional delegated arguments from __init__().
Overrides: ProcessEvent.my_init

process_default(self, event)

source code 

Default processing event method. By default does nothing. Subclass ProcessEvent and redefine this method in order to modify its behavior.

Parameters:
  • event - Event to be processed. Can be of any type of events but IN_Q_OVERFLOW events (see method process_IN_Q_OVERFLOW).
Overrides: ProcessEvent.process_default
(inherited documentation)