|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
net.spy.SpyThread
net.spy.cache.CacheClearRequestListener
public class CacheClearRequestListener
Listen for multicast request to clear cache for a given prefix.
| Nested Class Summary |
|---|
| 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 | |
|---|---|
CacheClearRequestListener(java.net.InetAddress g,
int p)
Get an instance of CacheClearRequestListener. |
|
| Method Summary | |
|---|---|
void |
flush(java.net.DatagramPacket recv)
Do that crazy flush thing. |
protected java.net.MulticastSocket |
makeMCastSocket(int p)
|
void |
run()
Run. |
void |
stopRunning()
Tell the thing to stop running. |
java.lang.String |
toString()
String me. |
| Methods inherited from class net.spy.SpyThread |
|---|
getLogger |
| 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, start, stop, stop, suspend, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CacheClearRequestListener(java.net.InetAddress g,
int p)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
protected java.net.MulticastSocket makeMCastSocket(int p)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Threadpublic void stopRunning()
public void flush(java.net.DatagramPacket recv)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||