com.aelitis.azureus.core.content
Class RelatedContent
java.lang.Object
com.aelitis.azureus.core.content.RelatedContent
- Direct Known Subclasses:
- RelatedContentManager.DownloadInfo
public abstract class RelatedContent
- extends java.lang.Object
Constructor Summary |
RelatedContent(int _version,
byte[] _related_to_hash,
java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(int _version,
java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VERSION_NA
public static final int VERSION_NA
- See Also:
- Constant Field Values
VERSION_INITIAL
public static final int VERSION_INITIAL
- See Also:
- Constant Field Values
VERSION_BETTER_SCRAPE
public static final int VERSION_BETTER_SCRAPE
- See Also:
- Constant Field Values
NO_TAGS
public static final java.lang.String[] NO_TAGS
RelatedContent
public RelatedContent(int _version,
byte[] _related_to_hash,
java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(int _version,
java.lang.String _title,
byte[] _hash,
java.lang.String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
java.lang.String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
getVersion
public int getVersion()
setVersion
protected void setVersion(int _version)
setRelatedToHash
protected void setRelatedToHash(byte[] h)
getRelatedToHash
public byte[] getRelatedToHash()
getRelatedToDownload
public abstract Download getRelatedToDownload()
getTitle
public java.lang.String getTitle()
getRank
public abstract int getRank()
getHash
public byte[] getHash()
getLevel
public abstract int getLevel()
isUnread
public abstract boolean isUnread()
setUnread
public abstract void setUnread(boolean unread)
getLastSeenSecs
public abstract int getLastSeenSecs()
getTracker
public java.lang.String getTracker()
getTrackerKeys
public byte[] getTrackerKeys()
getWebSeedKeys
public byte[] getWebSeedKeys()
getTags
public java.lang.String[] getTags()
setTags
protected void setTags(java.lang.String[] _tags)
getNetworks
public java.lang.String[] getNetworks()
getNetworksInternal
protected byte getNetworksInternal()
setNetworksInternal
protected void setNetworksInternal(byte n)
getSize
public long getSize()
getPublishDate
public long getPublishDate()
getDateHours
protected int getDateHours()
setDateHours
protected void setDateHours(int _date)
getLeechers
public int getLeechers()
getSeeds
public int getSeeds()
getSeedsLeechers
protected int getSeedsLeechers()
setSeedsLeechers
protected void setSeedsLeechers(int _sl)
getContentNetwork
public long getContentNetwork()
setContentNetwork
protected void setContentNetwork(long cnet)
getChangedLocallyOn
public long getChangedLocallyOn()
setChangedLocallyOn
public void setChangedLocallyOn(long _changed_locally_on)
- Parameters:
_changed_locally_on
- 0 == current time
delete
public abstract void delete()
getString
public java.lang.String getString()