1-Wire Weather Service for Java -- Server API

wxservice.sensor.data
Class Precipitation.Cfg

java.lang.Object
  extended by wxservice.sensor.data.Precipitation.Cfg
Enclosing class:
Precipitation

private static class Precipitation.Cfg
extends java.lang.Object

Class to organize configuration data.


Field Summary
(package private)  long m_lifetime
          Milliseconds for reference file to remain valid.
(package private)  int m_selector
          Calendar field selector.
 
Constructor Summary
Precipitation.Cfg(long lifetime, int selector)
          Creates a new Cfg instance.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_lifetime

long m_lifetime
Milliseconds for reference file to remain valid.


m_selector

int m_selector
Calendar field selector.

Constructor Detail

Precipitation.Cfg

Precipitation.Cfg(long lifetime,
                  int selector)
Creates a new Cfg instance.

Parameters:
lifetime - milliseconds for reference file to remain valid.
selector - calendar field selector.

Copyright © 2005-2007 Karl Uppiano