Package muntjac :: Package ui :: Module upload :: Class IProgressListener
[hide private]
[frames] | no frames]

Class IProgressListener

source code

object --+
         |
        IProgressListener

IProgressListener receives events to track progress of upload.

Instance Methods [hide private]
 
updateProgress(self, readBytes, contentLength)
Updates progress to listener.
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]

updateProgress(self, readBytes, contentLength)

source code 

Updates progress to listener.

Parameters:
  • readBytes - bytes transferred
  • contentLength - total size of file currently being uploaded, -1 if unknown