|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Tracker
| Field Summary | |
|---|---|
static int |
PR_HTTP
|
static int |
PR_HTTPS
|
| Method Summary | |
|---|---|
void |
addListener(TrackerListener listener)
|
TrackerWebContext |
createWebContext(int port,
int protocol)
|
TrackerWebContext |
createWebContext(java.lang.String name,
int port,
int protocol)
Create a new web context for the given port and protocol |
TrackerWebContext |
createWebContext(java.lang.String name,
int port,
int protocol,
java.net.InetAddress bind_ip)
Creates a new context bound to the supplied ip |
TrackerTorrent |
getTorrent(Torrent torrent)
|
TrackerTorrent[] |
getTorrents()
|
TrackerTorrent |
host(Torrent torrent,
boolean persistent)
|
TrackerTorrent |
host(Torrent torrent,
boolean persistent,
boolean passive)
|
TrackerTorrent |
publish(Torrent torrent)
|
void |
removeListener(TrackerListener listener)
|
| Methods inherited from interface org.gudy.azureus2.plugins.tracker.web.TrackerWebContext |
|---|
addAuthenticationListener, addPageGenerator, destroy, getName, getPageGenerators, getURLs, removeAuthenticationListener, removePageGenerator |
| Field Detail |
|---|
static final int PR_HTTP
static final int PR_HTTPS
| Method Detail |
|---|
TrackerTorrent host(Torrent torrent,
boolean persistent)
throws TrackerException
TrackerException
TrackerTorrent host(Torrent torrent,
boolean persistent,
boolean passive)
throws TrackerException
TrackerException
TrackerTorrent publish(Torrent torrent)
throws TrackerException
TrackerExceptionTrackerTorrent getTorrent(Torrent torrent)
TrackerTorrent[] getTorrents()
TrackerWebContext createWebContext(int port,
int protocol)
throws TrackerException
TrackerException
TrackerWebContext createWebContext(java.lang.String name,
int port,
int protocol)
throws TrackerException
name - name of the context - will be used as basic realm for authport - protocol -
TrackerException
TrackerWebContext createWebContext(java.lang.String name,
int port,
int protocol,
java.net.InetAddress bind_ip)
throws TrackerException
name - port - protocol - bind_ip -
TrackerExceptionvoid addListener(TrackerListener listener)
void removeListener(TrackerListener listener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||