org.apache.felix.upnp.basedriver.importer.core.upnp
Class UPnPDeviceImpl
java.lang.Object
org.apache.felix.upnp.basedriver.importer.core.upnp.UPnPDeviceImpl
- All Implemented Interfaces:
- UPnPDevice
public class UPnPDeviceImpl
- extends Object
- implements UPnPDevice
Fields inherited from interface org.osgi.service.upnp.UPnPDevice |
CHILDREN_UDN, DEVICE_CATEGORY, FRIENDLY_NAME, ID, MANUFACTURER, MANUFACTURER_URL, MATCH_GENERIC, MATCH_MANUFACTURER_MODEL, MATCH_MANUFACTURER_MODEL_REVISION, MATCH_MANUFACTURER_MODEL_REVISION_SERIAL, MATCH_TYPE, MODEL_DESCRIPTION, MODEL_NAME, MODEL_NUMBER, MODEL_URL, PARENT_UDN, PRESENTATION_URL, SERIAL_NUMBER, TYPE, UDN, UPC, UPNP_EXPORT |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPnPDeviceImpl
public UPnPDeviceImpl(org.cybergarage.upnp.Device dev,
BundleContext context)
- Parameters:
dev
- Device the cyberLink Device used to rappresent the real UPnP
Device
getService
public UPnPService getService(String serviceId)
- Specified by:
getService
in interface UPnPDevice
getServices
public UPnPService[] getServices()
- Specified by:
getServices
in interface UPnPDevice
getIcons
public UPnPIcon[] getIcons(String locale)
- Specified by:
getIcons
in interface UPnPDevice
getDescriptions
public Dictionary getDescriptions(String locale)
- Specified by:
getDescriptions
in interface UPnPDevice
existServiceType
public boolean existServiceType(String serviceType)
- Parameters:
serviceType
-
- Returns:
- true if device contains the serviceType
setProperty
public void setProperty(String property,
Object obj)
- Parameters:
property
- obj
-
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.