|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
net.i2p.util.I2PThread
net.i2p.util.I2PAppThread
org.klomp.snark.TrackerClient
public class TrackerClient
Informs metainfo tracker of events and gets new peers for peer coordinator.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class net.i2p.util.I2PThread |
---|
I2PThread.OOMEventListener |
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
TrackerClient(I2PSnarkUtil util,
MetaInfo meta,
PeerCoordinator coordinator)
|
Method Summary | |
---|---|
void |
halt()
Interrupts this Thread to stop it. |
boolean |
halted()
|
(package private) static boolean |
isValidAnnounce(java.lang.String ann)
|
void |
run()
|
void |
start()
|
boolean |
started()
|
static java.lang.String |
urlencode(byte[] bs)
Very lazy byte[] to URL encoder. |
Methods inherited from class net.i2p.util.I2PAppThread |
---|
addOOMEventThreadListener, fireOOM, removeOOMEventThreadListener |
Methods inherited from class net.i2p.util.I2PThread |
---|
addOOMEventListener, finalize, main, removeOOMEventListener |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TrackerClient(I2PSnarkUtil util, MetaInfo meta, PeerCoordinator coordinator)
Method Detail |
---|
public void start()
start
in class java.lang.Thread
public boolean halted()
public boolean started()
public void halt()
public void run()
run
in interface java.lang.Runnable
run
in class I2PThread
public static java.lang.String urlencode(byte[] bs)
static boolean isValidAnnounce(java.lang.String ann)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |