001 /*
002 * Copyright (c) OSGi Alliance (2005, 2008). All Rights Reserved.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016 /**
017 * To keep the current values getting from subscribed UPnPDevices.
018 *
019 * The actual values of the UPnPStateVaraible are passed as Java object type.
020 *
021 * @since 1.1
022 **/
023 package org.osgi.service.upnp;
024
025 /**
026 * A local UPnP state variable which allows the value of the state variable to
027 * be queried.
028 *
029 * @since 1.1
030 *
031 * @version $Revision: 5673 $
032 */
033 public interface UPnPLocalStateVariable extends UPnPStateVariable {
034 /**
035 * This method will keep the current values of UPnPStateVariables of a
036 * UPnPDevice whenever UPnPStateVariable's value is changed , this method
037 * must be called.
038 *
039 * @return <code>Object</code> current value of UPnPStateVariable. if the
040 * current value is initialized with the default value defined UPnP
041 * service description.
042 */
043 public Object getCurrentValue();
044 }