YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.openhome.OhControl Interface Reference

Calls an action of a service of an OpenHome device. More...

Inheritance diagram for de.yaacc.openhome.OhControl:
Inheritance graph
Collaboration diagram for de.yaacc.openhome.OhControl:
Collaboration graph

Public Member Functions

Map< String, String > invoke (String service, String action, Map< String, String > arguments) throws OhControlException
 

Detailed Description

Calls an action of a service of an OpenHome device.

The controller (OhRemote) is written against this, so it runs in plain JVM tests against the renderer classes; the app implements it with Cling.

Member Function Documentation

◆ invoke()

Map< String, String > de.yaacc.openhome.OhControl.invoke ( String service,
String action,
Map< String, String > arguments ) throws OhControlException
Parameters
service"Product", "Playlist", "Info", "Time" or "Volume"
actionthe action name
argumentsthe input arguments by name, as text
Returns
the output arguments by name, as text (empty for none)
Exceptions
OhControlExceptionwhen the device refused the action, did not answer, or does not offer the service

Implemented in de.yaacc.upnp.callback.openhome.ClingOhControl.


The documentation for this interface was generated from the following file: