net.spy.cache
Class CacheClearRequestListener

java.lang.Object
  extended byjava.lang.Thread
      extended bynet.spy.SpyThread
          extended bynet.spy.cache.CacheClearRequestListener
All Implemented Interfaces:
Runnable

public final class CacheClearRequestListener
extends SpyThread

Listen for multicast request to clear cache for a given prefix.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CacheClearRequestListener(InetAddress group, int port)
          Get an instance of CacheClearRequestListener.
 
Method Summary
 void flush(DatagramPacket recv)
          Do that crazy flush thing.
 void run()
          Run.
 void stopRunning()
          Tell the thing to stop running.
 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, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

CacheClearRequestListener

public CacheClearRequestListener(InetAddress group,
                                 int port)
                          throws IOException
Get an instance of CacheClearRequestListener.

Method Detail

toString

public String toString()
String me.


stopRunning

public void stopRunning()
Tell the thing to stop running.


flush

public void flush(DatagramPacket recv)
Do that crazy flush thing.


run

public void run()
Run.