org.apache.felix.upnp.basedriver.controller
Interface DriverController

All Known Implementing Classes:
DriverControllerImpl

public interface DriverController


Field Summary
static String ALL_DEVICE
          String for searching all the device on UPnP Networks
static String ROOT_DEVICE
          String for searching only root device on UPnP Networks
 
Method Summary
 boolean getCyberDebug()
           
 int getLogLevel()
           
 void search(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
 

Field Detail

ALL_DEVICE

static final String ALL_DEVICE
String for searching all the device on UPnP Networks

See Also:
Constant Field Values

ROOT_DEVICE

static final String ROOT_DEVICE
String for searching only root device on UPnP Networks

See Also:
Constant Field Values
Method Detail

setLogLevel

void setLogLevel(int n)
Set how much messages should be sent by UPnP Base Driver for debugging purpose

Parameters:
n - the level of log that you want to set (0-4)

getLogLevel

int getLogLevel()
Returns:
the actual value of log level

setCyberDebug

void setCyberDebug(boolean b)
Set if the message of the UPnP Stack should be reported or not

Parameters:
b - true if you want show messages from UPnP Stack false otherwise

getCyberDebug

boolean getCyberDebug()
Returns:
true if the reporting of UPnP Stack message is active false otherwise

search

void search(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

Parameters:
target - The SSDP string used for the search


Copyright © 2011 Apache Software Foundation. All Rights Reserved.