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 Object
Constructor Summary |
RelatedContent(int _version,
byte[] _related_to_hash,
String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(int _version,
String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
|
RelatedContent(String _title,
byte[] _hash,
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 String[] NO_TAGS
RelatedContent
public RelatedContent(int _version,
byte[] _related_to_hash,
String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(String _title,
byte[] _hash,
String _tracker,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
String[] _tags,
byte _nets,
long _size,
int _date,
int _seeds_leechers,
byte _cnet)
RelatedContent
public RelatedContent(int _version,
String _title,
byte[] _hash,
String _tracker,
byte[] _tracker_keys,
byte[] _ws_keys,
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 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 String getTracker()
getTrackerKeys
public byte[] getTrackerKeys()
getWebSeedKeys
public byte[] getWebSeedKeys()
getTags
public String[] getTags()
setTags
protected void setTags(String[] _tags)
getNetworks
public 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 String getString()