Package org.wsdmdemo.service.weatherStation.callbacks

Examples of org.wsdmdemo.service.weatherStation.callbacks.HumidityCallback


            org.wsdmdemo.service.weatherStation.HumidityDocument prop_humidity = org.wsdmdemo.service.weatherStation.HumidityDocument.Factory.newInstance();
            org.wsdmdemo.service.weatherStation.HumidityMetricType humidityMetricType = prop_humidity.addNewHumidity();
            humidityMetricType.setDoubleValue(InteropConstants.DEFAULT_HUMIDITY);
            humidityMetricType.setResetAt(resetAt);
            resourceProperty.add(prop_humidity);
            resourceProperty.setCallback(new HumidityCallback());

            // init the {http://wsdmdemo.org/service/weather-station}Price Resource Property
            resourceProperty = resourcePropertySet.get(WeatherStationPropertyQNames.PRICE);
            org.wsdmdemo.service.weatherStation.PriceDocument prop_price = org.wsdmdemo.service.weatherStation.PriceDocument.Factory.newInstance();
            prop_price.setPrice(InteropConstants.PRICE);
View Full Code Here

TOP

Related Classes of org.wsdmdemo.service.weatherStation.callbacks.HumidityCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.