public class UPNPMessageFactory extends Object
Constructor and Description |
---|
UPNPMessageFactory(Service service) |
Modifier and Type | Method and Description |
---|---|
ActionMessage |
getMessage(String serviceActionName)
Creation of a new ActionMessage to communicate with the UPNP device
|
StateVariableMessage |
getStateVariableMessage(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(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(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 fileCopyright © 2013. All Rights Reserved.