com.aelitis.azureus.core.content
Class RelatedContentManager.DownloadInfo

java.lang.Object
  extended by com.aelitis.azureus.core.content.RelatedContent
      extended by com.aelitis.azureus.core.content.RelatedContentManager.DownloadInfo
Enclosing class:
RelatedContentManager

protected class RelatedContentManager.DownloadInfo
extends RelatedContent


Field Summary
 
Fields inherited from class com.aelitis.azureus.core.content.RelatedContent
NO_TAGS, VERSION_BETTER_SCRAPE, VERSION_INITIAL, VERSION_NA
 
Constructor Summary
protected RelatedContentManager.DownloadInfo(int _version, byte[] _related_to, byte[] _hash, String _title, int _rand, String _tracker, byte[] _tracker_keys, byte[] _ws_keys, String[] _tags, byte _nets, int _level, boolean _explicit, long _size, int _date, int _seeds_leechers, byte _cnet)
           
protected RelatedContentManager.DownloadInfo(int _version, byte[] _hash, String _title, int _rand, String _tracker, byte[] _tracker_keys, byte[] _ws_keys, String[] _tags, byte _nets, boolean _unread, int[] _rand_list, int _last_seen, int _level, long _size, int _date, int _seeds_leechers, byte _cnet, RelatedContentManager.ContentCache _cc)
           
 
Method Summary
protected  boolean addInfo(RelatedContentManager.DownloadInfo info)
           
 void delete()
           
 int getLastSeenSecs()
           
 int getLevel()
           
protected  int getRand()
           
protected  int[] getRandList()
           
 int getRank()
           
 Download getRelatedToDownload()
           
 String getString()
           
protected  boolean isExplicit()
           
 boolean isUnread()
           
protected  void setExplicit(boolean b)
           
protected  void setPublic(RelatedContentManager.ContentCache _cc)
           
 void setUnread(boolean _unread)
           
protected  void setUnreadInternal(boolean _unread)
           
protected  void updateLastSeen()
           
 
Methods inherited from class com.aelitis.azureus.core.content.RelatedContent
getChangedLocallyOn, getContentNetwork, getDateHours, getHash, getLeechers, getNetworks, getNetworksInternal, getPublishDate, getRelatedToHash, getSeeds, getSeedsLeechers, getSize, getTags, getTitle, getTracker, getTrackerKeys, getVersion, getWebSeedKeys, setChangedLocallyOn, setContentNetwork, setDateHours, setNetworksInternal, setRelatedToHash, setSeedsLeechers, setTags, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelatedContentManager.DownloadInfo

protected RelatedContentManager.DownloadInfo(int _version,
                                             byte[] _related_to,
                                             byte[] _hash,
                                             String _title,
                                             int _rand,
                                             String _tracker,
                                             byte[] _tracker_keys,
                                             byte[] _ws_keys,
                                             String[] _tags,
                                             byte _nets,
                                             int _level,
                                             boolean _explicit,
                                             long _size,
                                             int _date,
                                             int _seeds_leechers,
                                             byte _cnet)

RelatedContentManager.DownloadInfo

protected RelatedContentManager.DownloadInfo(int _version,
                                             byte[] _hash,
                                             String _title,
                                             int _rand,
                                             String _tracker,
                                             byte[] _tracker_keys,
                                             byte[] _ws_keys,
                                             String[] _tags,
                                             byte _nets,
                                             boolean _unread,
                                             int[] _rand_list,
                                             int _last_seen,
                                             int _level,
                                             long _size,
                                             int _date,
                                             int _seeds_leechers,
                                             byte _cnet,
                                             RelatedContentManager.ContentCache _cc)
Method Detail

addInfo

protected boolean addInfo(RelatedContentManager.DownloadInfo info)

getLevel

public int getLevel()
Specified by:
getLevel in class RelatedContent

isExplicit

protected boolean isExplicit()

setExplicit

protected void setExplicit(boolean b)

updateLastSeen

protected void updateLastSeen()

getRank

public int getRank()
Specified by:
getRank in class RelatedContent

isUnread

public boolean isUnread()
Specified by:
isUnread in class RelatedContent

setPublic

protected void setPublic(RelatedContentManager.ContentCache _cc)

getLastSeenSecs

public int getLastSeenSecs()
Specified by:
getLastSeenSecs in class RelatedContent

setUnreadInternal

protected void setUnreadInternal(boolean _unread)

setUnread

public void setUnread(boolean _unread)
Specified by:
setUnread in class RelatedContent

getRand

protected int getRand()

getRandList

protected int[] getRandList()

getRelatedToDownload

public Download getRelatedToDownload()
Specified by:
getRelatedToDownload in class RelatedContent

delete

public void delete()
Specified by:
delete in class RelatedContent

getString

public String getString()
Overrides:
getString in class RelatedContent