Klasse RetrieveRemoteDescriptors

java.lang.Object
org.jupnp.protocol.RetrieveRemoteDescriptors
Alle implementierten Schnittstellen:
Runnable

public class RetrieveRemoteDescriptors extends Object implements Runnable
Retrieves all remote device XML descriptors, parses them, creates an immutable device and service metadata graph.

This implementation encapsulates all steps which are necessary to create a fully usable and populated device metadata graph of a particular UPnP device. It starts with an unhydrated and typically just discovered RemoteDevice, the only property that has to be available is its RemoteDeviceIdentity.

This protocol implementation will then retrieve the device's XML descriptor, parse it, and retrieve and parse all service descriptors until all device and service metadata has been retrieved. The fully hydrated device is then added to the Registry.

Any descriptor retrieval, parsing, or validation error of the metadata will abort this protocol with a warning message in the log.

Autor:
Christian Bauer, Kai Kreuzer - fixed service and embedded device processing