|
YAACC - UPNP Client and Server
|
Collects the addresses that may fetch a share from the currently chosen receivers. More...

Static Public Member Functions | |
| static Set< String > | resolve (UpnpClient upnpClient, Context context) |
| The addresses of the receivers currently stored as the selection. | |
| static Set< String > | resolve (UpnpClient upnpClient, Context context, Set< String > receiverIds) |
| The addresses of explicitly given receivers (the ones the user picked for this share), independent of the stored selection. | |
| static Set< String > | ownAddresses (Context context) |
| This phone's own addresses as text (the address used for the proxy URL and every address of the selected interface), for the link policy and for the allowed set when this phone is a chosen receiver. | |
Collects the addresses that may fetch a share from the currently chosen receivers.
Reads the selection without changing it and never resolves a host name (no network call): a receiver whose description names a host instead of an IP address contributes nothing, so with the receiver restriction on it would be refused (the setting can be switched off).
A remote receiver contributes the host of its description URL and of its URL base. This phone (the local dummy device or a local renderer) contributes the loopback addresses and its own addresses, and only when it is a chosen receiver (ShareAddresses).
|
static |
This phone's own addresses as text (the address used for the proxy URL and every address of the selected interface), for the link policy and for the allowed set when this phone is a chosen receiver.
No name is resolved. Empty if the phone has no address.
Referenced by de.yaacc.upnp.UpnpClient.createPlayableItem(), and de.yaacc.share.ShareAddressResolver.resolve().


|
static |
The addresses of the receivers currently stored as the selection.
Referenced by de.yaacc.share.ShareService.prepare(), and de.yaacc.share.ShareAddressResolver.resolve().


|
static |
The addresses of explicitly given receivers (the ones the user picked for this share), independent of the stored selection.
| receiverIds | the chosen receiver ids; null or empty gives an empty set |
