Hi Petr,
I’ve done some progress with BitTorrent transfers over the past week. Would you please have a look at the new code in Protocols/BitTorrent/Transfers?
Class Transfer is quite interesting because it is the top-level class that implements transfers. With regard to your recent work on TrackerRequestSession maybe implementing TrackerManager will be of interest for you. I was initially thinking that TrackerManager and Transfer would have a 1:1 relationship but then I realized that 1:n could also work. This is clearly one more advantage of passing objects from the outside. The same is for Choker - initially I thought I would have a single Choker per Transfer but then I realized that because we should have a global limit of upload slots it would be better to have a single Choker object.
Regards,
Peter
