|
YAACC - UPNP Client and Server
|
Finds out which of the devices yaacc knows speak the protocol, once per device: the description is fetched, the control interface is looked for (YxcDescriptionParser), and the answer is remembered per UDN, including "this is not such a device".
More...

Public Member Functions | |
| YxcDiscovery (YxcDescriptionFetcher fetcher) | |
| YxcEndpoint | find (String udn, String descriptorUrl) |
Finds out which of the devices yaacc knows speak the protocol, once per device: the description is fetched, the control interface is looked for (YxcDescriptionParser), and the answer is remembered per UDN, including "this is not such a device".
A device that did not answer is asked again after RETRY_AFTER_MILLIS. A device whose description URL changed (new address) is looked at again.
The address of the endpoint is the one of the description URL that yaacc's own registry gave; the host a document names is used only to take over its port when it names the same host, so a device can not send yaacc elsewhere.
| YxcEndpoint de.yaacc.yxc.YxcDiscovery.find | ( | String | udn, |
| String | descriptorUrl ) |
| udn | the UDN of the UPnP device, as the registry has it |
| descriptorUrl | the URL the registry fetched the description from |
null when the device does not speak the protocol or did not answer