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
`LocalDevice` | `addDevice(LocalDevice localDevice)`
`RemoteDevice` | `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)`
`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()`
`Collection<RemoteDevice>` | `getRemoteDevices(boolean hydratedOnly)`
`RemoteGENASubscription` | `getRemoteSubscription(String subscriptionId)`
`Resource` | `getResource(URI pathQuery)`
`
`<T> T`
` | `getResourceModel(Class<T> modelType, Resource.Type type, URI pathQuery)`
`Collection<Resource>` | `getResources()`
`void` | `hydrate(RemoteDevice remoteDevice)`
`void` | `removeAllLocalDevices()`
`void` | `removeAllRemoteDevices()`
`void` | `removeDevice(LocalDevice localDevice)`
`void` | `removeDevice(RemoteDevice remoteDevice)`
`void` | `removeListener(RegistryListener listener)`
`boolean` | `removeLocalSubscription(LocalGENASubscription subscription)`
`void` | `removeRemoteSubscription(RemoteGENASubscription subscription)`
`boolean` | `removeResource(Resource resource)`
`void` | `shutdown()`
`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

    LocalDevice addDevice(LocalDevice localDevice)

### addDevice

    RemoteDevice addDevice(RemoteDevice remoteDevice)

### hydrate

    void hydrate(RemoteDevice remoteDevice)

### removeDevice

    void removeDevice(LocalDevice localDevice)

### removeDevice

    void removeDevice(RemoteDevice remoteDevice)

### removeAllLocalDevices

    void removeAllLocalDevices()

### removeAllRemoteDevices

    void removeAllRemoteDevices()

### getDevice

    Device getDevice(UDN udn)

### getLocalDevices

    Collection<LocalDevice> getLocalDevices()

### getRemoteDevices

    Collection<RemoteDevice> getRemoteDevices()

### getRemoteDevices

    Collection<RemoteDevice> getRemoteDevices(boolean hydratedOnly)

### 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.