class QuartzTorrent::IncompletePiece
Represents a piece as it is being downloaded.
Attributes
completeBlockBitfield[RW]
Which blocks have we downloaded of this piece
index[RW]
Piece
index inside the torrent
requests[RW]
Which blocks have been requested. List of RequestedBlock
objects.
Public Instance Methods
complete?()
click to toggle source
Do we have all pieces?
# File lib/quartz_torrent/filemanager.rb, line 27 def complete? end