net.spy.cache
Class CacheClearRequestListener

java.lang.Object
  extended by java.lang.Thread
      extended by net.spy.SpyThread
          extended by net.spy.cache.CacheClearRequestListener
All Implemented Interfaces:
java.lang.Runnable

public class CacheClearRequestListener
extends SpyThread

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

CacheClearRequestListener

public CacheClearRequestListener(java.net.InetAddress g,
                                 int p)
                          throws java.io.IOException
Get an instance of CacheClearRequestListener.

Throws:
java.io.IOException
Method Detail

makeMCastSocket

protected java.net.MulticastSocket makeMCastSocket(int p)
                                            throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
String me.

Overrides:
toString in class java.lang.Thread

stopRunning

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


flush

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


run

public void run()
Run.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.