org.globus.cog.gui.setup.util
Class NTPThreadedClient

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.globus.cog.gui.setup.util.NTPThreadedClient
All Implemented Interfaces:
Runnable

public class NTPThreadedClient
extends Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NTPThreadedClient(String host)
           
 
Method Summary
 long getVariation()
           
 boolean isValid()
           
 void quit()
           
 void removeCallback()
           
 void run()
           
 void setCallback(Callback callback)
           
 void update()
           
 boolean withinDelta(long delta)
           
 
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, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NTPThreadedClient

public NTPThreadedClient(String host)
Method Detail

setCallback

public void setCallback(Callback callback)

removeCallback

public void removeCallback()

run

public void run()

update

public void update()

getVariation

public long getVariation()

withinDelta

public boolean withinDelta(long delta)

isValid

public boolean isValid()

quit

public void quit()