Interface UpnpDiscoveryParticipant


  • @Deprecated
    @NonNullByDefault
    public interface UpnpDiscoveryParticipant
    Deprecated.
    use org.eclipse.smarthome.config.discovery.upnp.UpnpDiscoveryParticipant instead.
    A UpnpDiscoveryParticipant that is registered as a service is picked up by the UpnpDiscoveryService and can thus contribute DiscoveryResults from UPnP scans.
    Author:
    Kai Kreuzer - Initial contribution
    • Field Detail

      • MIN_MAX_AGE_SECS

        static final long MIN_MAX_AGE_SECS
        Deprecated.
        According to the UPnP specification, the minimum MaxAge is 1800 seconds.
        See Also:
        Constant Field Values
    • Method Detail

      • getSupportedThingTypeUIDs

        Set<ThingTypeUID> getSupportedThingTypeUIDs()
        Deprecated.
        Defines the list of thing types that this participant can identify
        Returns:
        a set of thing type UIDs for which results can be created
      • createResult

        @Nullable DiscoveryResult createResult​(org.jupnp.model.meta.RemoteDevice device)
        Deprecated.
        Creates a discovery result for a upnp device
        Parameters:
        device - the upnp device found on the network
        Returns:
        the according discovery result or null, if device is not supported by this participant
      • getThingUID

        @Nullable ThingUID getThingUID​(org.jupnp.model.meta.RemoteDevice device)
        Deprecated.
        Returns the thing UID for a upnp device
        Parameters:
        device - the upnp device on the network
        Returns:
        a thing UID or null, if device is not supported by this participant