WorkerCollection
Overview
Represents an ArrayList collection of the IWorker elements. It is used by Listener object to control the list of workers.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
- Platforms: .NET Core, .NET Framework, .NET Standard
Instance Methods
constructor
Creates a new instance
constructor
WorkerCollection()
init()
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)
func Add(_ worker: IWorker)
Sub Add(worker As IWorker)
Parameters:
- worker:
Close
Closes connection for all IWorker elements in this collection.
method Close
void Close()
func Close()
Sub Close()
Remove
Removes specified IWorker element from the collection.
method Remove(worker: IWorker)
void Remove(IWorker worker)
func Remove(_ worker: IWorker)
Sub Remove(worker As IWorker)
Parameters:
- worker:
- IWorker Class