bamboo.dht
Class GatewayTest.ClientThread

java.lang.Object
  extended by java.lang.Thread
      extended by bamboo.dht.GatewayTest.ClientThread
All Implemented Interfaces:
Runnable
Enclosing class:
GatewayTest

public static class GatewayTest.ClientThread
extends Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
protected  gateway_protClient client
           
protected  MessageDigest digest
           
protected  InetAddress gateway_host
           
protected  int gateway_port
           
protected  org.apache.log4j.Logger logger
           
protected  Set puts
           
protected  Random rand
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GatewayTest.ClientThread(InetAddress h, int p, int seed)
           
 
Method Summary
 void run()
           
 
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, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rand

protected Random rand

puts

protected Set puts

gateway_host

protected InetAddress gateway_host

gateway_port

protected int gateway_port

logger

protected org.apache.log4j.Logger logger

digest

protected MessageDigest digest

client

protected gateway_protClient client
Constructor Detail

GatewayTest.ClientThread

public GatewayTest.ClientThread(InetAddress h,
                                int p,
                                int seed)
Method Detail

run

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