SIKIWorker Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | SIKIWorker.h |
Overview
It is a blue print for classes which want to perform background processes It exposes APIs to start, stop worker
– startWorker
required method
Start the worker to handle the requests
- (void)startWorkerDiscussion
Start the worker to handle the requests
Declared In
SIKIWorker.h
– stopWorker
required method
Stop the worker
- (void)stopWorkerDiscussion
Stop the worker
Declared In
SIKIWorker.h
– isWorkerRunning
required method
Check whether worker is running or not
- (BOOL)isWorkerRunningReturn Value
(true/false) TRUE: If worker is running | FALSE: If worker is not running
Discussion
Check whether worker is running or not
Declared In
SIKIWorker.h
– addRequest:
required method
Add request
- (void)addRequest:(id<SIKIRequest>)requestParameters
request |
IRequest |
|---|
Discussion
Add request
Declared In
SIKIWorker.h
– removeRequest:
required method
Remove request
- (void)removeRequest:(id<SIKIRequest>)requestParameters
request |
IRequest |
|---|
Discussion
Remove request
Declared In
SIKIWorker.h
– containsRequest:
required method
Check whether it contains request or not
- (BOOL)containsRequest:(id<SIKIRequest>)requestParameters
request |
(true/false) TRUE: If it contains the request | FALSE: If it does not contains the request |
|---|
Discussion
Check whether it contains request or not
Declared In
SIKIWorker.h