Package org.wsdmdemo.service.weatherStation.callbacks

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


            org.wsdmdemo.service.weatherStation.TemperatureDocument prop_temperature = org.wsdmdemo.service.weatherStation.TemperatureDocument.Factory.newInstance();
            org.wsdmdemo.service.weatherStation.TemperatureMetricType temperatureMetricType = prop_temperature.addNewTemperature();
            temperatureMetricType.setDoubleValue(InteropConstants.DEFAULT_TEMP);
            temperatureMetricType.setResetAt(resetAt);
            resourceProperty.add(prop_temperature);
            resourceProperty.setCallback(new TemperatureCallback());

            // init the {http://wsdmdemo.org/service/weather-station}Humidity Resource Property
            resourceProperty = resourcePropertySet.get(WeatherStationPropertyQNames.HUMIDITY);
            org.wsdmdemo.service.weatherStation.HumidityDocument prop_humidity = org.wsdmdemo.service.weatherStation.HumidityDocument.Factory.newInstance();
            org.wsdmdemo.service.weatherStation.HumidityMetricType humidityMetricType = prop_humidity.addNewHumidity();
View Full Code Here

TOP

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

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.