|
YAACC - UPNP Client and Server
|
Calls the actions of the OpenHome services of a device through Cling and waits for the answer. More...


Public Member Functions | |
| ClingOhControl (Device<?, ?, ?> device, HttpRequestSender sender) | |
| Map< String, String > | invoke (String serviceName, String actionName, Map< String, String > arguments) throws OhControlException |
Public Member Functions inherited from de.yaacc.openhome.OhControl | |
Static Public Member Functions | |
| static Service<?, ?> | findService (Device<?, ?, ?> device, String name) |
| static boolean | offersPlaylist (Device<?, ?, ?> device) |
| Whether the device offers what the controller needs: the playlist and the product (source and standby). | |
Static Public Attributes | |
| static final String | NAMESPACE = "av-openhome-org" |
Calls the actions of the OpenHome services of a device through Cling and waits for the answer.
Blocks the calling thread, so it is used from the player's own worker thread, never from the main thread.
|
static |
Referenced by de.yaacc.upnp.callback.openhome.ClingOhControl.invoke(), and de.yaacc.upnp.callback.openhome.ClingOhControl.offersPlaylist().

| Map< String, String > de.yaacc.upnp.callback.openhome.ClingOhControl.invoke | ( | String | service, |
| String | action, | ||
| Map< String, String > | arguments ) throws OhControlException |
| service | "Product", "Playlist", "Info", "Time" or "Volume" |
| action | the action name |
| arguments | the input arguments by name, as text |
| OhControlException | when the device refused the action, did not answer, or does not offer the service |
Implements de.yaacc.openhome.OhControl.
