1 /* 2 * $Header: /cvshome/build/org.osgi.service.upnp/src/org/osgi/service/upnp/UPnPLocalStateVariable.java,v 1.12 2006/06/16 16:31:46 hargrave Exp $ 3 * 4 * Copyright (c) OSGi Alliance (2005, 2006). All Rights Reserved. 5 * 6 * Licensed under the Apache License, Version 2.0 (the "License"); 7 * you may not use this file except in compliance with the License. 8 * You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, software 13 * distributed under the License is distributed on an "AS IS" BASIS, 14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 * See the License for the specific language governing permissions and 16 * limitations under the License. 17 */ 18 /** 19 * To keep the current values getting from subscribed UPnPDevices. 20 * 21 * The actual values of the UPnPStateVaraible are passed as Java object type. 22 * 23 * @since 1.1 24 **/ 25 package org.osgi.service.upnp; 26 27 /** 28 * A local UPnP state variable which allows the value of the state variable to 29 * be queried. 30 * 31 * @since 1.1 32 */ 33 public interface UPnPLocalStateVariable extends UPnPStateVariable { 34 /** 35 * This method will keep the current values of UPnPStateVariables of a 36 * UPnPDevice whenever UPnPStateVariable's value is changed , this method 37 * must be called. 38 * 39 * @return <code>Object</code> current value of UPnPStateVariable. if the 40 * current value is initialized with the default value defined UPnP 41 * service description. 42 */ 43 public Object getCurrentValue(); 44 } 45