|
YAACC - UPNP Client and Server
|
Builds the Cling LocalService of an OpenHome service from its OhServiceDef: the state variables read from an OhServiceState, the actions run by OhActionHandlers.
More...

Static Public Member Functions | |
| static LocalService< OhServiceState > | build (OhServiceDef def, final OhServiceState state, Map< String, OhActionHandler > handlers, final int lockTimeoutMillis) throws ValidationException |
Builds the Cling LocalService of an OpenHome service from its OhServiceDef: the state variables read from an OhServiceState, the actions run by OhActionHandlers.
An action without a handler answers with the current values of the variables of its output arguments (a getter) or, for one input argument, stores it in its variable (a setter).