Revision 580877
Go back to digest for 10th September 2006Other in Networking Tools
Joris Guisson committed changes in /trunk/extragear/network/ktorrent:
Major redesign of tracker handling, this is an overview of the changes:
- Everybody wishing to provide potential peers to a torrent should derive from PeerSource
- The AnnounceList class has been scrapped,
- To replace it there is a PeerSourceManager class, this manages the trackers and the custom PeerSources. PeerSourceManager is derived from
TrackersList so the page on the infowidget pretty much works the same.
- Status field of the tracker will now add more detailed error messages
- If a tracker sends a failure reason, we will now show this
- If a tracker cannot be reached anymore, the switching will be properly handled (i.e. a started event is sent)
File Changes
Added 4 files
- /trunk/extragear/network/ktorrent/libktorrent
- /interfaces/peersource.cpp
- /interfaces/peersource.h
- /torrent/peersourcemanager.cpp
- /torrent/peersourcemanager.h
Modified 39 files
- /trunk/extragear/network/ktorrent
- /ktorrent.kdevelop
- /libktorrent/functions.cpp
- /libktorrent/functions.h
- /plugins/Makefile.am
- /apps/ktorrent/ktorrentcore.h
- /apps/ktorrent/queuedialog.cpp
- /libktorrent/interfaces/Makefile.am
- /libktorrent/interfaces/torrentinterface.h
- /libktorrent/interfaces/trackerslist.cpp
- /libktorrent/interfaces/trackerslist.h
- /libktorrent/kademlia/dht.cpp
- /libktorrent/kademlia/dht.h
- /libktorrent/kademlia/dhtbase.cpp
- /libktorrent/kademlia/dhtbase.h
- /libktorrent/kademlia/dhttrackerbackend.cpp
- /libktorrent/kademlia/dhttrackerbackend.h
- /libktorrent/kademlia/rpcmsg.cpp
- /libktorrent/torrent/announcelist.cpp
- /libktorrent/torrent/announcelist.h
- /libktorrent/torrent/httptracker.cpp
- /libktorrent/torrent/httptracker.h
- /libktorrent/torrent/Makefile.am
- /libktorrent/torrent/peermanager.cpp
- /libktorrent/torrent/peermanager.h
- /libktorrent/torrent/queuemanager.cpp
- /libktorrent/torrent/queuemanager.h
- /libktorrent/torrent/torrent.cpp
- /libktorrent/torrent/torrent.h
- /libktorrent/torrent/torrentcontrol.cpp
- /libktorrent/torrent/torrentcontrol.h
- /libktorrent/torrent/tracker.cpp
- /libktorrent/torrent/tracker.h
- /libktorrent/torrent/udptracker.cpp
- /libktorrent/torrent/udptracker.h
- /libktorrent/torrent/udptrackersocket.h
- /plugins/infowidget/trackerview.cpp
- /plugins/infowidget/trackerviewbase.ui
- /plugins/rssfeed/Makefile.in
- /plugins/rssfeed/rss/Makefile.in
43 files changed in total