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 java.lang.String CONFIG_VIEW_HIDE_REND_GENERIC
           
static java.lang.String CONFIG_VIEW_SHOW_ONLY_TAGGED
           
 
Method Summary
 void addDiscoveryListener(DeviceManagerDiscoveryListener listener)
           
 Device addInetDevice(int type, java.lang.String uid, java.lang.String classification, java.lang.String name, java.net.InetAddress address)
           
 void addListener(DeviceManagerListener listener)
           
 Device addVirtualDevice(int type, java.lang.String uid, java.lang.String classification, java.lang.String name)
           
 Device findDevice(UPnPDevice upnpDevice)
           
 int getAutoHideOldDevicesDays()
           
 boolean getAutoSearch()
           
 java.io.File getDefaultWorkingDirectory()
           
 DeviceManager.DeviceManufacturer[] getDeviceManufacturers(int device_type)
           
 Device[] getDevices()
           
 DeviceTemplate[] getDeviceTemplates(int device_type)
           
 boolean getDisableSleep()
           
 java.lang.String getLocalServiceName()
           
 DeviceOfflineDownloaderManager getOfflineDownlaoderManager()
           
 java.lang.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(java.io.File dir)
           
 void setDisableSleep(boolean b)
           
 void setRSSPublishEnabled(boolean enabled)
           
 void setTiVoEnabled(boolean enabled)
           
 

Field Detail

CONFIG_VIEW_HIDE_REND_GENERIC

static final java.lang.String CONFIG_VIEW_HIDE_REND_GENERIC
See Also:
Constant Field Values

CONFIG_VIEW_SHOW_ONLY_TAGGED

static final java.lang.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,
                        java.lang.String uid,
                        java.lang.String classification,
                        java.lang.String name)
                        throws DeviceManagerException
Throws:
DeviceManagerException

addInetDevice

Device addInetDevice(int type,
                     java.lang.String uid,
                     java.lang.String classification,
                     java.lang.String name,
                     java.net.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

java.lang.String getRSSLink()

getUnassociatedDevices

DeviceManager.UnassociatedDevice[] getUnassociatedDevices()

getTranscodeManager

TranscodeManager getTranscodeManager()

getDefaultWorkingDirectory

java.io.File getDefaultWorkingDirectory()

setDefaultWorkingDirectory

void setDefaultWorkingDirectory(java.io.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

java.lang.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