I am using the Cling Java library to implement a UPnP control point.
The native controlpoint.search() function is non-blocking and reports devices through a callback mechanism.
Is there a way to make a blocking call to search, which returns when device(s) are found? Or a status flag on which I can wait until a device is found?
(It is trivial to implement this on my own, but I would like to use the native API as much as possible)