YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.openhome.OhServiceDef Class Reference

The description of one OpenHome service as data: its state variables and its actions with their arguments. More...

Collaboration diagram for de.yaacc.upnp.server.openhome.OhServiceDef:
Collaboration graph

Classes

class  Act
 An action.
 
class  Arg
 An argument of an action.
 
class  Var
 A state variable.
 

Public Member Functions

 OhServiceDef (String name, int version)
 
String name ()
 
int version ()
 
String serviceType ()
 urn:av-openhome-org:service:Playlist:1

 
String serviceId ()
 urn:av-openhome-org:serviceId:Playlist

 
List< Var > vars ()
 
List< Act > actions ()
 
Var var (String variable)
 
Act action (String action)
 
OhServiceDef vars (String... definitions)
 
OhServiceDef actions (String... definitions)
 

Static Public Attributes

static final String NAMESPACE = "av-openhome-org"
 

Detailed Description

The description of one OpenHome service as data: its state variables and its actions with their arguments.

The tables are written in a compact text form (the one of the OpenHome service descriptions, shortened) and a test compares them with the service descriptions of the OpenHome project, so a mistake in a name or a type shows at once.

  • variable: Name:type, then * if it is evented, then [a|b|c] for the allowed values
  • action: Name, then arguments >Arg=RelatedVariable (in) or <Arg=RelatedVariable (out), in order

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