Package flumotion :: Package component :: Package consumers :: Package disker :: Module disker_plug :: Class DiskerPlug
[hide private]

Class DiskerPlug

source code

extern.log.log.Loggable --+        
                          |        
            plugs.base.Plug --+    
                              |    
       plugs.base.ComponentPlug --+
                                  |
                                 DiskerPlug

Base class for disker plugs.

Instance Methods [hide private]
 
recording_started(self, file, location)
Called before disker starts writing data to a new file.
source code
 
recording_stopped(self, file, location)
Called after disker stops writing data to a file.
source code

Inherited from plugs.base.ComponentPlug: restart, start, stop

Inherited from plugs.base.Plug: __init__

Inherited from extern.log.log.Loggable: __providedBy__, debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure, writeMarker

Class Variables [hide private]

Inherited from extern.log.log.Loggable: __implemented__, __provides__, logCategory

Method Details [hide private]

recording_started(self, file, location)

source code 

Called before disker starts writing data to a new file.

Parameters:
  • file (file) - the file object
  • location (str) - the location of the file

recording_stopped(self, file, location)

source code 

Called after disker stops writing data to a file.

Parameters:
  • file (file) - the file object
  • location (str) - the location of the file