Naanou.ResourceExchange
Interface IWorker

Property Summary
bool IsComplete
Naanou.ResourceExchange.WorkStatusArgs LastStatus
Naanou.ResourceExchange.ByteRange Range
         Gets the range this worker was responsible for
string SourceTitle

Method Summary
void Abort()
         Abort the worker
void Join()
         Join and wait indefinately
void Join(System.TimeSpan timeout)
         Join, waiting for a specific time
void PaintStatus(System.Drawing.Graphics g, System.Drawing.Rectangle rect)
void Start()
         Starts the worker

Event Summary
Naanou.ResourceExchange.WorkCompleteHandler Complete
         Worker has completed
Naanou.ResourceExchange.WorkStatusHandler Status
         Worker has status to report


Property Detail

IsComplete

public bool IsComplete


LastStatus

public Naanou.ResourceExchange.WorkStatusArgs LastStatus


Range

public Naanou.ResourceExchange.ByteRange Range

Gets the range this worker was responsible for


SourceTitle

public string SourceTitle

Method Detail

Abort

public void Abort()

Abort the worker


Join

public void Join()

Join and wait indefinately


Join

public void Join(System.TimeSpan timeout)

Join, waiting for a specific time

Parameters:
timeout -

PaintStatus

public void PaintStatus(System.Drawing.Graphics g,
                        System.Drawing.Rectangle rect)


Start

public void Start()

Starts the worker

Event Detail

Complete

public Naanou.ResourceExchange.WorkCompleteHandler Complete

Worker has completed


Status

public Naanou.ResourceExchange.WorkStatusHandler Status

Worker has status to report