cgl.narada.benchmark.nbntp
Class NtpClientTest

java.lang.Object
  extended by java.lang.Thread
      extended by cgl.narada.benchmark.nbntp.NtpClientTest
All Implemented Interfaces:
Runnable

public class NtpClientTest
extends Thread

Run NtpTimeservice for the time specified or for 60 min and records offset values computed.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
NtpClientTest()
          Generates a new NtpClientTest object.
NtpClientTest(int tTime)
          Generates a new NtpClientTest object.
 
Method Summary
static void main(String[] argv)
          Main class
 void run()
          Sleeps for the test time and shuts down the clisnt.
 
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
 

Constructor Detail

NtpClientTest

public NtpClientTest(int tTime)
Generates a new NtpClientTest object.

Parameters:
tTime - DOCUMENT ME!

NtpClientTest

public NtpClientTest()
Generates a new NtpClientTest object.

Method Detail

main

public static void main(String[] argv)
                 throws Exception
Main class

Parameters:
argv - int - the time that this class will run
Throws:
Exception - DOCUMENT ME!

run

public void run()
Sleeps for the test time and shuts down the clisnt.

Specified by:
run in interface Runnable
Overrides:
run in class Thread


For comments and suggestions please send e-mail to The NaradaBrokering Project