public interface ITrackerService
Modifier and Type | Method and Description |
---|---|
Tracker |
getTracker(AnnounceKey announceKey)
Get a tracker by its announce key
|
Tracker |
getTracker(String trackerUrl)
Get a single tracker by its' URL
|
boolean |
isSupportedProtocol(String trackerUrl)
Check if the protocol specified in the tracker's URL is supported.
|
boolean isSupportedProtocol(String trackerUrl)
trackerUrl
- Tracker URLTracker getTracker(String trackerUrl)
BtException
- if the protocol specified in the tracker's URL is not supportedTracker getTracker(AnnounceKey announceKey)
Copyright © 2016–2021. All rights reserved.