|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--iglu.net.PortServerThread
|
+--iglu.net.URLServerThread
A PortServer with some extra functionality for dealing with URL's. Basically, this gives us a few server-specific things that the client handlers might want access to. Currently all it offers is "BlackList" functionality. To make this class into a proxy server, you just make a decendant of WebHandler to be the object returns by the ClientCreator passed to this constructor.
| Field Summary | |
protected BlackList |
blackList
the black list |
| Fields inherited from class iglu.net.PortServerThread |
psvr |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
URLServerThread(java.net.InetAddress addr,
java.lang.Integer port,
ClientCreator ncc)
constructor |
|
| Method Summary | |
BlackList |
getBlackList()
returns the black list |
void |
setBlackList(BlackList bl)
sets the black list |
| Methods inherited from class iglu.net.PortServerThread |
run |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected BlackList blackList
| Constructor Detail |
public URLServerThread(java.net.InetAddress addr,
java.lang.Integer port,
ClientCreator ncc)
addr - The machine the server will run on.port - The port the server will run on.ncc - The ClientCreator to use.| Method Detail |
public BlackList getBlackList()
public void setBlackList(BlackList bl)
bl - The new black list.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||