Package flumotion :: Package component :: Package misc :: Package httpserver :: Module localprovider :: Class FileProviderLocalPlug
[hide private]

type FileProviderLocalPlug

source code

                 object --+            
                          |            
extern.log.log.Loggable --+            
                          |            
            plugs.base.Plug --+        
                              |        
       plugs.base.ComponentPlug --+    
                                  |    
      fileprovider.FileProviderPlug --+
                                      |
            extern.log.log.Loggable --+
                                      |
                                     FileProviderLocalPlug

I am a plug that provide local files directly, faking the file access is asynchronous.

Instance Methods [hide private]
 
__init__(self, args) source code
 
startStatsUpdates(self, updater)
Start updating statistics.
source code
 
stopStatsUpdates(self)
Stop updating statistics.
source code
FilePath
getRootPath(self)
Returns: the root of the file repository
source code

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

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

Class Variables [hide private]
  logcategory = 'fileprovider-local'

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

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 
Parameters:
  • args - The plug args
Overrides: plugs.base.Plug.__init__
(inherited documentation)

startStatsUpdates(self, updater)

source code 

Start updating statistics.

Overrides: fileprovider.FileProviderPlug.startStatsUpdates
(inherited documentation)

stopStatsUpdates(self)

source code 

Stop updating statistics.

Overrides: fileprovider.FileProviderPlug.stopStatsUpdates
(inherited documentation)

getRootPath(self)

source code 
Returns: FilePath
the root of the file repository
Overrides: fileprovider.FileProviderPlug.getRootPath
(inherited documentation)