public class TrackerFactory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TrackerFactory.Builder |
| Modifier and Type | Method and Description |
|---|---|
Optional<ITracker> |
getTrackerFor(String trackerUrl)
Either creates or returns the tracker implementation for the given url
|
List<ITracker> |
getTrackersHavingTorrent(Torrent torrent) |
String |
toString() |
public Optional<ITracker> getTrackerFor(String trackerUrl)
trackerUrl - The url (including protocol) at which the tracker is availableIllegalArgumentException - When the given tracker URL doesn't contain a protocol definition or an incomplete definition.Copyright © 2016. All rights reserved.