Package flickrapi :: Module reportinghttp :: Class ReportingSocket
[hide private]
[frames] | no frames]

Class ReportingSocket

source code

object --+
         |
        ReportingSocket

Wrapper around a socket. Gives progress report through a callback function.
Instance Methods [hide private]
 
__init__(self, socket)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
sendall(self, bits)
Sends all data, calling the callback function for every sent chunk.
source code
 
makefile(self, mode, bufsize)
Returns a file-like object for the socket.
source code
 
close(self)
Closes the socket.
source code

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

Class Variables [hide private]
  min_chunksize = 10240
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, socket)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)