cgl.narada.service.time.ntptime
Class DefaultParams

java.lang.Object
  extended by cgl.narada.service.time.ntptime.DefaultParams

public class DefaultParams
extends Object

Provides default vaules for the TimeService. If parameters are not defined the configuration file, these values will be used. NTP_Iinterval = 30000 NTP_DebugNTP = ON NTP_DEBUG_TIME_OUTPUT = timeversusoffset.txt NTP_Servers = 129.6.15.28,129.6.15.29,132.163.4.101,132.163.4.102,132.163.4.103,192.43.244.18,131.107.1.10,128.138.140.44 #NTP_Servers =time-a.nist.gov,time-b.nist.gov,time-a.timefreq.bldrdoc.gov,time-b.timefreq.bldrdoc.gov,time-c.timefreq.bldrdoc.gov,time.nist.gov,time-nw.nist.gov,utcnist.colorado.edu


Constructor Summary
DefaultParams()
          Generates a new DefaultParams object.
 
Method Summary
 long getInterval()
          Returns the interval that the clock be adjusted
 String getOutputFile()
          Returns the name of the output file that the offset values are recorded
 String getServerIPS()
          Returns the time server IPs in String format and seperated from each other with comma.
 boolean isDebugNTP()
          Returns the debug mode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParams

public DefaultParams()
Generates a new DefaultParams object.

Method Detail

isDebugNTP

public boolean isDebugNTP()
Returns the debug mode

Returns:
boolean - debug mode

getInterval

public long getInterval()
Returns the interval that the clock be adjusted

Returns:
long - interval in milliseconds

getOutputFile

public String getOutputFile()
Returns the name of the output file that the offset values are recorded

Returns:
String - name of the output file

getServerIPS

public String getServerIPS()
Returns the time server IPs in String format and seperated from each other with comma.

Returns:
String - time server IPS seperated by comma


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