public class UPNPMessageFactory
extends java.lang.Object
Constructor and Description |
---|
UPNPMessageFactory(Service service) |
Modifier and Type | Method and Description |
---|---|
ActionMessage |
getMessage(java.lang.String serviceActionName)
Creation of a new ActionMessage to communicate with the UPNP
device
|
StateVariableMessage |
getStateVariableMessage(java.lang.String serviceStateVariable)
Creation of a new StateVariableMessage to communicate with the
UPNP device, for a service state variable query
|
public final Service service
public UPNPMessageFactory(Service service)
service
- the UPNPService that will be used to generate messages
by thid factorypublic ActionMessage getMessage(java.lang.String serviceActionName)
serviceActionName
- the name of a service action, this name is case
sensitive and matches exactly the name provided by the
UPNP device in the XML definition filepublic StateVariableMessage getStateVariableMessage(java.lang.String serviceStateVariable)
serviceStateVariable
- the name of a service state variable, this name is
case sensitive and matches exactly the name provided
by the UPNP device in the XML definition file