com.aelitis.net.upnp.impl.services
Class UPnPServiceImpl
java.lang.Object
com.aelitis.net.upnp.impl.services.UPnPServiceImpl
- All Implemented Interfaces:
- UPnPService
public class UPnPServiceImpl
- extends Object
- implements UPnPService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UPnPServiceImpl
public UPnPServiceImpl(UPnPDeviceImpl _device,
String indent,
SimpleXMLParserDocumentNode service_node)
getDevice
public UPnPDevice getDevice()
- Specified by:
getDevice
in interface UPnPService
getServiceType
public String getServiceType()
- Specified by:
getServiceType
in interface UPnPService
isConnectable
public boolean isConnectable()
- Specified by:
isConnectable
in interface UPnPService
getActions
public UPnPAction[] getActions()
throws UPnPException
- Specified by:
getActions
in interface UPnPService
- Throws:
UPnPException
getAction
public UPnPAction getAction(String name)
throws UPnPException
- Specified by:
getAction
in interface UPnPService
- Throws:
UPnPException
getStateVariables
public UPnPStateVariable[] getStateVariables()
throws UPnPException
- Specified by:
getStateVariables
in interface UPnPService
- Throws:
UPnPException
getStateVariable
public UPnPStateVariable getStateVariable(String name)
throws UPnPException
- Specified by:
getStateVariable
in interface UPnPService
- Throws:
UPnPException
getDescriptionURL
public URL getDescriptionURL()
throws UPnPException
- Throws:
UPnPException
getControlURLs
public List<URL> getControlURLs()
throws UPnPException
- Specified by:
getControlURLs
in interface UPnPService
- Throws:
UPnPException
setPreferredControlURL
public void setPreferredControlURL(URL url)
- Specified by:
setPreferredControlURL
in interface UPnPService
getPreferredControlURL
protected URL getPreferredControlURL()
getURL
protected URL getURL(String basis)
throws UPnPException
- Throws:
UPnPException
loadDescription
protected void loadDescription()
throws UPnPException
- Throws:
UPnPException
parseActions
protected void parseActions(SimpleXMLParserDocumentNode action_list)
parseStateVars
protected void parseStateVars(SimpleXMLParserDocumentNode action_list)
getSpecificService
public UPnPSpecificService getSpecificService()
- Description copied from interface:
UPnPService
- gets a specific service if such is supported
- Specified by:
getSpecificService
in interface UPnPService
- Returns:
getDirectInvocations
public boolean getDirectInvocations()
- Specified by:
getDirectInvocations
in interface UPnPService
setDirectInvocations
public void setDirectInvocations(boolean force)
- Specified by:
setDirectInvocations
in interface UPnPService