ants.p2p.gui
Class ConnectionManager

java.lang.Object
  extended by java.lang.Thread
      extended by ants.p2p.gui.ConnectionManager
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.lang.Runnable, java.util.EventListener

public class ConnectionManager
extends java.lang.Thread
implements java.beans.PropertyChangeListener


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static double freeSlots
           
static long lastGWebCacheFetch
           
static long lastGWebCacheUpdate
           
static boolean publishIpOnGWebCache
           
static boolean searchIpOnGWebCache
           
static int timeout
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ConnectionManager(ConnectionAntPanel cap)
           
 
Method Summary
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 void run()
           
 void 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

timeout

public static int timeout

freeSlots

public static double freeSlots

lastGWebCacheUpdate

public static long lastGWebCacheUpdate

lastGWebCacheFetch

public static long lastGWebCacheFetch

publishIpOnGWebCache

public static boolean publishIpOnGWebCache

searchIpOnGWebCache

public static boolean searchIpOnGWebCache
Constructor Detail

ConnectionManager

public ConnectionManager(ConnectionAntPanel cap)
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

terminate

public void terminate()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread