org.gudy.azureus2.plugins.tracker
Interface Tracker
- All Superinterfaces:
- TrackerWebContext
- All Known Implementing Classes:
- RPTracker, TrackerImpl
public interface Tracker
- extends TrackerWebContext
PR_HTTP
static final int PR_HTTP
- See Also:
- Constant Field Values
PR_HTTPS
static final int PR_HTTPS
- See Also:
- Constant Field Values
host
TrackerTorrent host(Torrent torrent,
boolean persistent)
throws TrackerException
- Throws:
TrackerException
host
TrackerTorrent host(Torrent torrent,
boolean persistent,
boolean passive)
throws TrackerException
- Throws:
TrackerException
publish
TrackerTorrent publish(Torrent torrent)
throws TrackerException
- Throws:
TrackerException
getTorrent
TrackerTorrent getTorrent(Torrent torrent)
getTorrents
TrackerTorrent[] getTorrents()
createWebContext
TrackerWebContext createWebContext(int port,
int protocol)
throws TrackerException
- Throws:
TrackerException
createWebContext
TrackerWebContext createWebContext(String name,
int port,
int protocol)
throws TrackerException
- Create a new web context for the given port and protocol
- Parameters:
name
- name of the context - will be used as basic realm for authport
- protocol
-
- Returns:
-
- Throws:
TrackerException
createWebContext
TrackerWebContext createWebContext(String name,
int port,
int protocol,
InetAddress bind_ip)
throws TrackerException
- Creates a new context bound to the supplied ip
- Parameters:
name
- port
- protocol
- bind_ip
-
- Returns:
-
- Throws:
TrackerException
addListener
void addListener(TrackerListener listener)
removeListener
void removeListener(TrackerListener listener)