Naanou.ResourceExchange
Class DownloaderQueue

Downloader queue. Keeps track of who recently downloaded block/file

Field Summary
int DOWNLOADER_QUEUE
         Maximum number of downloaders which are kept track of
System.Collections.Queue downloaders

Constructor Summary
DownloaderQueue()
         Constructor

Method Summary
void Add(string downloader)
         Adds downloader
string ToString()
         Gets a space-delimited list of recent downloaders (id|url id2|url2..)

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone


Field Detail

DOWNLOADER_QUEUE

private int DOWNLOADER_QUEUE

Maximum number of downloaders which are kept track of


downloaders

private System.Collections.Queue downloaders

Constructor Detail

DownloaderQueue

internal DownloaderQueue()

Constructor

Method Detail

Add

internal void Add(string downloader)

Adds downloader

Parameters:
downloader -

ToString

public string ToString()

Gets a space-delimited list of recent downloaders (id|url id2|url2..)