org.teleal.cling.registry
Interface Registry
- All Known Implementing Classes:
- RegistryImpl
public interface Registry
getConfiguration
UpnpServiceConfiguration getConfiguration()
getProtocolFactory
ProtocolFactory getProtocolFactory()
shutdown
void shutdown()
addListener
void addListener(RegistryListener listener)
removeListener
void removeListener(RegistryListener listener)
getListeners
java.util.Collection<RegistryListener> getListeners()
addDevice
void addDevice(LocalDevice localDevice)
addDevice
void addDevice(RemoteDevice remoteDevice)
update
boolean update(RemoteDeviceIdentity rdIdentity)
removeDevice
boolean removeDevice(LocalDevice localDevice)
removeDevice
boolean removeDevice(RemoteDevice remoteDevice)
removeDevice
boolean removeDevice(UDN udn)
removeAllLocalDevices
void removeAllLocalDevices()
removeAllRemoteDevices
void removeAllRemoteDevices()
getDevice
Device getDevice(UDN udn,
boolean rootOnly)
getLocalDevice
LocalDevice getLocalDevice(UDN udn,
boolean rootOnly)
getRemoteDevice
RemoteDevice getRemoteDevice(UDN udn,
boolean rootOnly)
getLocalDevices
java.util.Collection<LocalDevice> getLocalDevices()
getRemoteDevices
java.util.Collection<RemoteDevice> getRemoteDevices()
getDevices
java.util.Collection<Device> getDevices()
getDevices
java.util.Collection<Device> getDevices(DeviceType deviceType)
getDevices
java.util.Collection<Device> getDevices(ServiceType serviceType)
getDeviceService
DeviceService getDeviceService(ServiceReference serviceReference)
addResource
void addResource(Resource resource)
removeResource
boolean removeResource(Resource resource)
getResource
Resource getResource(java.net.URI pathQuery)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getResourceModel
<T> T getResourceModel(java.lang.Class<T> modelType,
Resource.Type type,
java.net.URI pathQuery)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getResources
java.util.Collection<Resource> getResources()
addLocalSubscription
void addLocalSubscription(LocalGENASubscription subscription)
getLocalSubscription
LocalGENASubscription getLocalSubscription(java.lang.String subscriptionId)
updateLocalSubscription
boolean updateLocalSubscription(LocalGENASubscription subscription)
removeLocalSubscription
boolean removeLocalSubscription(LocalGENASubscription subscription)
addRemoteSubscription
void addRemoteSubscription(RemoteGENASubscription subscription)
getRemoteSubscription
RemoteGENASubscription getRemoteSubscription(java.lang.String subscriptionId)
updateRemoteSubscription
void updateRemoteSubscription(RemoteGENASubscription subscription)
removeRemoteSubscription
void removeRemoteSubscription(RemoteGENASubscription subscription)
Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.