Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.teleal.cling.registry
Interface Registry

All Known Implementing Classes:
  RegistryImpl

    public interface Registry

Method Summary
`void` | `addDevice(LocalDevice localDevice)`
`void` | `addDevice(RemoteDevice remoteDevice)`
`void` | `addListener(RegistryListener listener)`
`void` | `addLocalSubscription(LocalGENASubscription subscription)`
`void` | `addRemoteSubscription(RemoteGENASubscription subscription)`
`void` | `addResource(Resource resource)`
`UpnpServiceConfiguration` | `getConfiguration()`
`Device` | `getDevice(UDN udn, boolean rootOnly)`
`Collection<Device>` | `getDevices()`
`Collection<Device>` | `getDevices(DeviceType deviceType)`
`Collection<Device>` | `getDevices(ServiceType serviceType)`
`DeviceService` | `getDeviceService(ServiceReference serviceReference)`
`Collection<RegistryListener>` | `getListeners()`
`Collection<LocalDevice>` | `getLocalDevices()`
`LocalGENASubscription` | `getLocalSubscription(String subscriptionId)`
`ProtocolFactory` | `getProtocolFactory()`
`Collection<RemoteDevice>` | `getRemoteDevices()`
`RemoteGENASubscription` | `getRemoteSubscription(String subscriptionId)`
`Resource` | `getResource(URI pathQuery)`
`
`<T> T`
` | `getResourceModel(Class<T> modelType, Resource.Type type, URI pathQuery)`
`Collection<Resource>` | `getResources()`
`void` | `removeAllLocalDevices()`
`void` | `removeAllRemoteDevices()`
`boolean` | `removeDevice(LocalDevice localDevice)`
`boolean` | `removeDevice(RemoteDevice remoteDevice)`
`void` | `removeListener(RegistryListener listener)`
`boolean` | `removeLocalSubscription(LocalGENASubscription subscription)`
`void` | `removeRemoteSubscription(RemoteGENASubscription subscription)`
`boolean` | `removeResource(Resource resource)`
`void` | `shutdown()`
`boolean` | `update(RemoteDeviceIdentity rdIdentity)`
`boolean` | `updateLocalSubscription(LocalGENASubscription subscription)`
`void` | `updateRemoteSubscription(RemoteGENASubscription subscription)`

Method Detail

### getConfiguration

    UpnpServiceConfiguration getConfiguration()

### getProtocolFactory

    ProtocolFactory getProtocolFactory()

### shutdown

    void shutdown()

### addListener

    void addListener(RegistryListener listener)

### removeListener

    void removeListener(RegistryListener listener)

### getListeners

    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)

### removeAllLocalDevices

    void removeAllLocalDevices()

### removeAllRemoteDevices

    void removeAllRemoteDevices()

### getDevice

    Device getDevice(UDN udn,
                     boolean rootOnly)

### getLocalDevices

    Collection<LocalDevice> getLocalDevices()

### getRemoteDevices

    Collection<RemoteDevice> getRemoteDevices()

### getDevices

    Collection<Device> getDevices()

### getDevices

    Collection<Device> getDevices(DeviceType deviceType)

### getDevices

    Collection<Device> getDevices(ServiceType serviceType)

### getDeviceService

    DeviceService getDeviceService(ServiceReference serviceReference)

### addResource

    void addResource(Resource resource)

### removeResource

    boolean removeResource(Resource resource)

### getResource

    Resource getResource(URI pathQuery)
                         throws IllegalArgumentException

  Throws:
    `IllegalArgumentException`

### getResourceModel

    <T> T getResourceModel(Class<T> modelType,
                           Resource.Type type,
                           URI pathQuery)
                       throws IllegalArgumentException

  Throws:
    `IllegalArgumentException`

### getResources

    Collection<Resource> getResources()

### addLocalSubscription

    void addLocalSubscription(LocalGENASubscription subscription)

### getLocalSubscription

    LocalGENASubscription getLocalSubscription(String subscriptionId)

### updateLocalSubscription

    boolean updateLocalSubscription(LocalGENASubscription subscription)

### removeLocalSubscription

    boolean removeLocalSubscription(LocalGENASubscription subscription)

### addRemoteSubscription

    void addRemoteSubscription(RemoteGENASubscription subscription)

### getRemoteSubscription

    RemoteGENASubscription getRemoteSubscription(String subscriptionId)

### updateRemoteSubscription

    void updateRemoteSubscription(RemoteGENASubscription subscription)

### removeRemoteSubscription

    void removeRemoteSubscription(RemoteGENASubscription subscription)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 Teleal GmbH, Switzerland. All Rights Reserved.