|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
ants.p2p.http.HttpProxy
public class HttpProxy
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
java.util.ArrayList |
activeHandlers
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
HttpProxy(int port,
java.lang.String nodeID,
WarriorAnt wa)
|
|
HttpProxy(java.lang.String nodeID,
WarriorAnt wa)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getNodeID()
|
int |
getPort()
|
WarriorAnt |
getWarriorAnt()
|
void |
removeHandler(HttpRequestSender handler)
|
void |
run()
|
boolean |
terminate()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, 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, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.util.ArrayList activeHandlers
| Constructor Detail |
|---|
public HttpProxy(int port,
java.lang.String nodeID,
WarriorAnt wa)
throws java.lang.Exception
java.lang.Exception
public HttpProxy(java.lang.String nodeID,
WarriorAnt wa)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public int getPort()
public java.lang.String getNodeID()
public WarriorAnt getWarriorAnt()
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
public boolean terminate()
throws java.lang.Exception
java.lang.Exceptionpublic void removeHandler(HttpRequestSender handler)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||