Package ganeti :: Package masterd :: Module instance :: Class ImportExportCbBase
[hide private]
[frames] | no frames]

Class ImportExportCbBase

source code


Callbacks for disk import/export.

Instance Methods [hide private]
 
ReportListening(self, ie, private, component)
Called when daemon started listening.
source code
 
ReportConnected(self, ie, private)
Called when a connection has been established.
source code
 
ReportProgress(self, ie, private)
Called when new progress information should be reported.
source code
 
ReportFinished(self, ie, private)
Called when a transfer has finished.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

ReportListening(self, ie, private, component)

source code 

Called when daemon started listening.

Parameters:
  • ie (Subclass of _DiskImportExportBase) - Import/export object
  • private - Private data passed to import/export object
  • component - transfer component name

ReportConnected(self, ie, private)

source code 

Called when a connection has been established.

Parameters:
  • ie (Subclass of _DiskImportExportBase) - Import/export object
  • private - Private data passed to import/export object

ReportProgress(self, ie, private)

source code 

Called when new progress information should be reported.

Parameters:
  • ie (Subclass of _DiskImportExportBase) - Import/export object
  • private - Private data passed to import/export object

ReportFinished(self, ie, private)

source code 

Called when a transfer has finished.

Parameters:
  • ie (Subclass of _DiskImportExportBase) - Import/export object
  • private - Private data passed to import/export object