|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UPnPService
This interface is an abstract representation of a UPnP service. It provides the data constituting a UPnP service that is independent of the network interface on which it has been advertised.
| Method Summary | |
|---|---|
UPnPAction |
getAction(String actionName)
Gets the named action from this service. |
UPnPAction[] |
getActions()
Gets the actions that can be used with this service. |
String |
getServiceId()
Gets the UPnP serviceId of this service. |
String |
getServiceType()
Gets the UPnP serviceType of this service. |
String |
getSpecVersion()
Gets the UPnP specVersion major and minor values of this service. |
| Method Detail |
|---|
UPnPAction getAction(String actionName)
actionName - The name of the UPnPAction to retrieve.
IllegalArgumentException - if the
actionName does not match an action
name in this service.UPnPAction[] getActions()
UPnPActions. If the service
has no actions, returns an zero-length array.String getServiceId()
serviceId element within the device
description.
String getServiceType()
serviceType element within the
device description.
String getSpecVersion()
specVersion element within the
service description.
The format of the returned String is the <major>
value, followed by '.', followed by the <minor> value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||