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

Class 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)
x.__init__(...) initializes x; see help(type(x)) for signature
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 object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, args)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • args - The plug args
Overrides: object.__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)