-
Notifications
You must be signed in to change notification settings - Fork 65
Description
Many consumers would like to listen/publish on multiple adapters/networks/addresses (whatever is the right term here). Rssdp doesn't support that, and there are architectural issues with trying to implement it given the current design.
To make life easier for consumers, could we; create an AggregateSsdpDevicePublisher (and possibly AggregateSsdpDeviceLocator) which take an IEnumerable of the associated type. Add a device to the aggregate publisher would add it to all internal publishers, and performing a search on the aggregate locator would union the search from all internal locators. Other properties and settings would also map down to the inner collections, allowing consumers to treat multiple instances as if they're a single instance.
There are some potential issues here, for example, with the locator what happens when one inner locator throws an exception on search? Does the user get the exception and no results, or the successful results and the exception is buried?