WorkerCollection

Overview

Represents an ArrayList collection of the IWorker elements. It is used by Listener object to control the list of workers.

Location


Instance Methods


constructor

 

constructor

 

WorkerCollection()

 

Sub New()

Add

Adds method to process Done event to specified IWorker parameter and adds this IWorker to the end of the collection.

 

method Add(worker: IWorker)

 

void Add(IWorker worker)

 

Sub Add(worker As IWorker)

Parameters:

  • worker:

Close

Closes connection for all IWorker elements in this collection.

 

method Close

 

void Close()

 

Sub Close()

Remove

Removes specified IWorker element from the collection.

 

method Remove(worker: IWorker)

 

void Remove(IWorker worker)

 

Sub Remove(worker As IWorker)

Parameters:

  • worker: