Packages that use UDPTrackerClient.Tracker
Package
Description
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
Uses of UDPTrackerClient.Tracker in org.klomp.snark
Fields in org.klomp.snark declared as UDPTrackerClient.TrackerModifier and TypeFieldDescriptionprivate final UDPTrackerClient.TrackerUDPTrackerClient.ReplyWaiter.sentToThe tracker the request was sent to.Fields in org.klomp.snark with type parameters of type UDPTrackerClient.TrackerModifier and TypeFieldDescriptionprivate final ConcurrentHashMap<UDPTrackerClient.HostPort, UDPTrackerClient.Tracker> UDPTrackerClient._trackersDest and port to tracker data.Methods in org.klomp.snark that return UDPTrackerClient.TrackerModifier and TypeMethodDescriptionUDPTrackerClient.ReplyWaiter.getSentTo()The sent-to tracker.private UDPTrackerClient.TrackerUDPTrackerClient.getTracker(String host, int port) Create or find a tracker entry.Methods in org.klomp.snark with parameters of type UDPTrackerClient.TrackerModifier and TypeMethodDescriptionprivate LongUDPTrackerClient.getConnection(UDPTrackerClient.Tracker tr, long untilTime) Establish a connection to the tracker.private byte[]UDPTrackerClient.sendAnnounce(UDPTrackerClient.Tracker tr, int tid, long connID, byte[] ih, byte[] id, long downloaded, long left, long uploaded, int event, int numWant) Send one time with given tid.private UDPTrackerClient.ReplyWaiterUDPTrackerClient.sendAnnounce(UDPTrackerClient.Tracker tr, long connID, byte[] ih, byte[] id, long downloaded, long left, long uploaded, int event, int numWant, long toWait) Send one time with a new tid.private byte[]UDPTrackerClient.sendConnReq(UDPTrackerClient.Tracker tr, int tid) Send one time with given tid.private UDPTrackerClient.ReplyWaiterUDPTrackerClient.sendConnReq(UDPTrackerClient.Tracker tr, long toWait) Send one time with a new tid.private byte[]UDPTrackerClient.sendScrape(UDPTrackerClient.Tracker tr, int tid, long connID, byte[] ih) Send one time with given tid.private UDPTrackerClient.ReplyWaiterUDPTrackerClient.sendScrape(UDPTrackerClient.Tracker tr, long connID, byte[] ih, long toWait) Send one time with a new tid.Constructors in org.klomp.snark with parameters of type UDPTrackerClient.TrackerModifierConstructorDescriptionReplyWaiter(int tid, UDPTrackerClient.Tracker tracker, int action, byte[] payload, long toWait) Either wait on this object with a timeout, or use non-null Runnables.