com.aelitis.azureus.core.devices
Interface DeviceManager

All Known Implementing Classes:
DeviceManagerImpl

public interface DeviceManager


Nested Class Summary
static interface DeviceManager.DeviceManufacturer
           
static interface DeviceManager.UnassociatedDevice
           
 
Field Summary
static String CONFIG_VIEW_HIDE_REND_GENERIC
           
static String CONFIG_VIEW_SHOW_ONLY_TAGGED
           
 
Method Summary
 void addDiscoveryListener(DeviceManagerDiscoveryListener listener)
           
 Device addInetDevice(int type, String uid, String classification, String name, InetAddress address)
           
 void addListener(DeviceManagerListener listener)
           
 Device addVirtualDevice(int type, String uid, String classification, String name)
           
 Device findDevice(UPnPDevice upnpDevice)
           
 int getAutoHideOldDevicesDays()
           
 boolean getAutoSearch()
           
 File getDefaultWorkingDirectory()
           
 DeviceManager.DeviceManufacturer[] getDeviceManufacturers(int device_type)
           
 Device[] getDevices()
           
 DeviceTemplate[] getDeviceTemplates(int device_type)
           
 boolean getDisableSleep()
           
 String getLocalServiceName()
           
 DeviceOfflineDownloaderManager getOfflineDownlaoderManager()
           
 String getRSSLink()
           
 TranscodeManager getTranscodeManager()
           
 DeviceManager.UnassociatedDevice[] getUnassociatedDevices()
           
 boolean isBusy(int device_type)
           
 boolean isRSSPublishEnabled()
           
 boolean isTiVoEnabled()
           
 void removeDiscoveryListener(DeviceManagerDiscoveryListener listener)
           
 void removeListener(DeviceManagerListener listener)
           
 void search(int max_millis, DeviceSearchListener listener)
           
 void setAutoHideOldDevicesDays(int days)
           
 void setAutoSearch(boolean auto)
           
 void setDefaultWorkingDirectory(File dir)
           
 void setDisableSleep(boolean b)
           
 void setRSSPublishEnabled(boolean enabled)
           
 void setTiVoEnabled(boolean enabled)
           
 

Field Detail

CONFIG_VIEW_HIDE_REND_GENERIC

static final String CONFIG_VIEW_HIDE_REND_GENERIC
See Also:
Constant Field Values

CONFIG_VIEW_SHOW_ONLY_TAGGED

static final String CONFIG_VIEW_SHOW_ONLY_TAGGED
See Also:
Constant Field Values
Method Detail

getDeviceTemplates

DeviceTemplate[] getDeviceTemplates(int device_type)

getDeviceManufacturers

DeviceManager.DeviceManufacturer[] getDeviceManufacturers(int device_type)

getDevices

Device[] getDevices()

addVirtualDevice

Device addVirtualDevice(int type,
                        String uid,
                        String classification,
                        String name)
                        throws DeviceManagerException
Throws:
DeviceManagerException

addInetDevice

Device addInetDevice(int type,
                     String uid,
                     String classification,
                     String name,
                     InetAddress address)
                     throws DeviceManagerException
Throws:
DeviceManagerException

search

void search(int max_millis,
            DeviceSearchListener listener)

getAutoSearch

boolean getAutoSearch()

setAutoSearch

void setAutoSearch(boolean auto)

getAutoHideOldDevicesDays

int getAutoHideOldDevicesDays()

setAutoHideOldDevicesDays

void setAutoHideOldDevicesDays(int days)

isRSSPublishEnabled

boolean isRSSPublishEnabled()

setRSSPublishEnabled

void setRSSPublishEnabled(boolean enabled)

getRSSLink

String getRSSLink()

getUnassociatedDevices

DeviceManager.UnassociatedDevice[] getUnassociatedDevices()

getTranscodeManager

TranscodeManager getTranscodeManager()

getDefaultWorkingDirectory

File getDefaultWorkingDirectory()

setDefaultWorkingDirectory

void setDefaultWorkingDirectory(File dir)

isBusy

boolean isBusy(int device_type)

getOfflineDownlaoderManager

DeviceOfflineDownloaderManager getOfflineDownlaoderManager()

isTiVoEnabled

boolean isTiVoEnabled()

setTiVoEnabled

void setTiVoEnabled(boolean enabled)

getDisableSleep

boolean getDisableSleep()

setDisableSleep

void setDisableSleep(boolean b)

getLocalServiceName

String getLocalServiceName()

addDiscoveryListener

void addDiscoveryListener(DeviceManagerDiscoveryListener listener)

removeDiscoveryListener

void removeDiscoveryListener(DeviceManagerDiscoveryListener listener)

addListener

void addListener(DeviceManagerListener listener)

removeListener

void removeListener(DeviceManagerListener listener)

findDevice

Device findDevice(UPnPDevice upnpDevice)
Parameters:
upnpDevice -
Returns:
Since:
5.0.0.1