FileDocCategorySizeDatePackage
DownloadManagerState.javaAPI DocAzureus 3.0.3.49008Tue Aug 14 22:27:06 BST 2007org.gudy.azureus2.core3.download

DownloadManagerState

public interface DownloadManagerState
author
parg

Fields Summary
public static final String
AT_CATEGORY
public static final String
AT_NETWORKS
public static final String
AT_USER
public static final String
AT_PEER_SOURCES
public static final String
AT_TRACKER_CLIENT_EXTENSIONS
public static final String
AT_FILE_LINKS
public static final String
AT_FILE_STORE_TYPES
public static final String
AT_FILE_DOWNLOADED
public static final String
AT_FLAGS
public static final String
AT_PARAMETERS
public static final String
AT_DISPLAY_NAME
public static final String
AT_USER_COMMENT
public static final String
AT_RELATIVE_SAVE_PATH
public static final String
AT_SECRETS
public static final String
AT_RESUME_STATE
public static final String
AT_PRIMARY_FILE
public static final String
AT_TIME_SINCE_DOWNLOAD
public static final String
AT_TIME_SINCE_UPLOAD
public static final String
AT_AVAIL_BAD_TIME
public static final String
AT_TIME_STOPPED
public static Object[]
ATTRIBUTE_DEFAULTS
public static final long
FLAG_ONLY_EVER_SEEDED
public static final long
FLAG_SCAN_INCOMPLETE_PIECES
public static final long
FLAG_DISABLE_AUTO_FILE_MOVE
public static final long
FLAG_MOVE_ON_COMPLETION_DONE
public static final long
FLAG_LOW_NOISE
public static final String
PARAM_MAX_PEERS
public static final String
PARAM_MAX_PEERS_WHEN_SEEDING
public static final String
PARAM_MAX_PEERS_WHEN_SEEDING_ENABLED
public static final String
PARAM_MAX_SEEDS
public static final String
PARAM_MAX_UPLOADS
public static final String
PARAM_MAX_UPLOADS_WHEN_SEEDING
public static final String
PARAM_MAX_UPLOADS_WHEN_SEEDING_ENABLED
public static final String
PARAM_STATS_COUNTED
public static final String
PARAM_DOWNLOAD_ADDED_TIME
public static final String
PARAM_DOWNLOAD_COMPLETED_TIME
public static final String
PARAM_MAX_UPLOAD_WHEN_BUSY
public static final String
PARAM_DND_FLAGS
public static final int
DEFAULT_MAX_UPLOADS
public static final int
MIN_MAX_UPLOADS
public static Object[]
PARAMETERS
Constructors Summary
Methods Summary
public voidaddListener(DownloadManagerStateListener l)

public voidclearFileLinks()

public voidclearResumeData()

public voidclearTrackerResponseCache()

public voiddelete()
deletes the saved state

public voidgenerateEvidence(org.gudy.azureus2.core3.util.IndentWriter writer)

public java.lang.StringgetAttribute(java.lang.String name)

public booleangetBooleanAttribute(java.lang.String name)

public booleangetBooleanParameter(java.lang.String name)

public org.gudy.azureus2.core3.category.CategorygetCategory()

public java.lang.StringgetDisplayName()

public DownloadManagergetDownloadManager()

public java.io.FilegetFileLink(java.io.File link_source)

public com.aelitis.azureus.core.util.CaseSensitiveFileMapgetFileLinks()
returns a File -> File map of the defined links (empty if no links)

return

public booleangetFlag(long flag)

public intgetIntAttribute(java.lang.String name)

public intgetIntParameter(java.lang.String name)

public java.lang.String[]getListAttribute(java.lang.String name)

public longgetLongAttribute(java.lang.String name)

public longgetLongParameter(java.lang.String name)

public java.util.MapgetMapAttribute(java.lang.String name)

public java.lang.String[]getNetworks()

public java.lang.String[]getPeerSources()

public java.lang.StringgetPrimaryFile()

public java.lang.StringgetRelativeSavePath()

public java.util.MapgetResumeData()

public java.io.FilegetStateFile(java.lang.String name)

public org.gudy.azureus2.core3.torrent.TOTorrentgetTorrent()

public java.lang.StringgetTrackerClientExtensions()

public java.util.MapgetTrackerResponseCache()

public java.lang.StringgetUserComment()

public booleanhasAttribute(java.lang.String name)

public booleanisNetworkEnabled(java.lang.String network)

public booleanisOurContent()

return

public booleanisPeerSourceEnabled(java.lang.String peerSource)

public booleanisPeerSourcePermitted(java.lang.String peerSource)

public booleanisResumeDataComplete()

public booleanparameterExists(java.lang.String name)

param
name
return

public voidremoveListener(DownloadManagerStateListener l)

public voidsave()

public voidsetActive(boolean active)

public voidsetAttribute(java.lang.String name, java.lang.String value)

public voidsetBooleanAttribute(java.lang.String name, boolean value)

public voidsetBooleanParameter(java.lang.String name, boolean value)

public voidsetCategory(org.gudy.azureus2.core3.category.Category cat)

public voidsetDisplayName(java.lang.String name)

public voidsetFileLink(java.io.File link_source, java.io.File link_destination)

public voidsetFlag(long flag, boolean set)

public voidsetIntAttribute(java.lang.String name, int value)

public voidsetIntParameter(java.lang.String name, int value)

public voidsetListAttribute(java.lang.String name, java.lang.String[] values)

public voidsetLongAttribute(java.lang.String name, long value)

public voidsetLongParameter(java.lang.String name, long value)

public voidsetMapAttribute(java.lang.String name, java.util.Map value)

public voidsetNetworkEnabled(java.lang.String network, boolean enabled)

public voidsetNetworks(java.lang.String[] networks)

public voidsetParameterDefault(java.lang.String name)
Reset to default value

param
name

public voidsetPeerSourceEnabled(java.lang.String source, boolean enabled)

public voidsetPeerSources(java.lang.String[] sources)

public voidsetPrimaryFile(java.lang.String fileFullPath)

public voidsetRelativeSavePath(java.lang.String path)

public voidsetResumeData(java.util.Map data)

public voidsetTrackerClientExtensions(java.lang.String value)

public voidsetTrackerResponseCache(java.util.Map value)

public voidsetUserComment(java.lang.String name)