Package Anomos :: Module StorageWrapper :: Class StorageWrapper
[hide private]
[frames] | no frames]

Class StorageWrapper

source code

object --+
         |
        StorageWrapper

Instance Methods [hide private]
 
__init__(self, storage, config, hashes, piece_size, finished, statusfunc, flag, data_flunked, infohash, resumefile)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_waspre(self, piece) source code
 
_piecelen(self, piece) source code
 
_check_partial(self, pos, partials, data) source code
 
_make_partial(self, index, parts) source code
 
_initalloc(self, pos, piece) source code
 
_move_piece(self, oldpos, newpos) source code
 
_get_free_place(self) source code
 
get_amount_left(self) source code
 
do_I_have_anything(self) source code
 
_make_inactive(self, index) source code
 
_load_fastresume(self, resumefile, typecode) source code
 
write_fastresume(self, resumefile) source code
 
get_have_list(self) source code
 
do_I_have(self, index) source code
 
do_I_have_requests(self, index) source code
 
new_request(self, index) source code
 
piece_came_in(self, index, begin, piece, source=None) source code
 
request_lost(self, index, begin, length) source code
 
get_piece(self, index, begin, length) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, storage, config, hashes, piece_size, finished, statusfunc, flag, data_flunked, infohash, resumefile)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)