dk.itu.smds.torusman
Class ClientTimeSender

java.lang.Object
  extended by java.lang.Thread
      extended by dk.itu.smds.torusman.ClientTimeSender
All Implemented Interfaces:
java.lang.Runnable

public class ClientTimeSender
extends java.lang.Thread

The Class ClientTimeSender. Sends the time at certain intervals


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 LocalMan man
          The man.
 java.io.DataOutputStream out
          The out.
 boolean setted
          The setted.
 int start
          The start.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientTimeSender(java.io.DataOutputStream out, LocalMan man)
          Instantiates a new client time sender.
 
Method Summary
 void run()
          Sends a request for the time skew and timed intervals.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

out

public java.io.DataOutputStream out
The out.


man

public LocalMan man
The man.


start

public int start
The start.


setted

public boolean setted
The setted.

Constructor Detail

ClientTimeSender

public ClientTimeSender(java.io.DataOutputStream out,
                        LocalMan man)
Instantiates a new client time sender.

Parameters:
out - the out
man - the man
Method Detail

run

public void run()
Sends a request for the time skew and timed intervals.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Thread.run()