|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.upnp.basedriver.controller.impl.DriverControllerImpl
public class DriverControllerImpl
Field Summary |
---|
Fields inherited from interface org.apache.felix.upnp.basedriver.controller.DriverController |
---|
ALL_DEVICE, ROOT_DEVICE |
Constructor Summary | |
---|---|
DriverControllerImpl(MyCtrlPoint myCtrl)
|
Method Summary | |
---|---|
boolean |
getCyberDebug()
|
java.lang.String |
getLocationURL(java.lang.String udn)
Allow you to get the URL of the XML description of a device specified by UUID. |
int |
getLogLevel()
|
java.lang.String |
getSCPDURL(java.lang.String udn,
java.lang.String serviceId)
Allow you to get the URL of the XML description of a service specified by the ServiceId and the UUID of the device that contains the service |
java.lang.String |
resolveRelativeUrl(java.lang.String udn,
java.lang.String link)
Allow you to get the absolute URL of a link that is contained in a device. |
void |
search(java.lang.String target)
forces the UPnP base driver to send an M-SEARCH message on the UPnP Networks, and refresh the device found by UPnP Base Driver |
void |
setCyberDebug(boolean b)
Set if the message of the UPnP Stack should be reported or not |
void |
setLogLevel(int n)
Set how much messages should be sent by UPnP Base Driver for debugging purpose |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DriverControllerImpl(MyCtrlPoint myCtrl)
Method Detail |
---|
public void setLogLevel(int n)
DriverController
setLogLevel
in interface DriverController
n
- the level of log that you want to set (0-4)public int getLogLevel()
getLogLevel
in interface DriverController
public void setCyberDebug(boolean b)
DriverController
setCyberDebug
in interface DriverController
b
- true if you want show messages from UPnP Stack false otherwisepublic boolean getCyberDebug()
getCyberDebug
in interface DriverController
public java.lang.String getLocationURL(java.lang.String udn)
DevicesInfo
getLocationURL
in interface DevicesInfo
udn
- the UUID that identify a device
public java.lang.String getSCPDURL(java.lang.String udn, java.lang.String serviceId)
DevicesInfo
getSCPDURL
in interface DevicesInfo
udn
- the UUID of the device that contain the serviceserviceId
- the ServiceId of the service
public java.lang.String resolveRelativeUrl(java.lang.String udn, java.lang.String link)
DevicesInfo
resolveRelativeUrl
in interface DevicesInfo
udn
- the UUID of the UPnP Devicelink
- the relative link that you want to resolve
public void search(java.lang.String target)
DriverController
search
in interface DriverController
target
- The SSDP string used for the search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |