SIKAsyncServiceWorker Class Reference
Inherits from | NSObject |
---|---|
Conforms to | SIKIWorker |
Declared in | SIKAsyncServiceWorker.h SIKAsyncServiceWorker.m |
Other Methods
+ getInstance
It provides AsyncServiceWorker singleton instance
+ (SIKAsyncServiceWorker *)getInstance
Return Value
AsyncServiceWorker singleton instance
Discussion
It provides AsyncServiceWorker singleton instance
Declared In
SIKAsyncServiceWorker.h
Other Methods
– addRequest:
Add request
- (void)addRequest:(id<SIKIRequest>)request
Parameters
request |
IRequest |
---|
Discussion
Add request
Declared In
SIKIWorker.h
– removeRequest:
Remove request
- (void)removeRequest:(id<SIKIRequest> const)service
Parameters
request |
IRequest |
---|
Discussion
Remove request
Declared In
SIKIWorker.h
– containsRequest:
Check whether it contains request or not
- (BOOL)containsRequest:(id<SIKIRequest> const)request
Parameters
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
– startWorker
Start the worker to handle the requests
- (void)startWorker
Discussion
Start the worker to handle the requests
Declared In
SIKIWorker.h
– isWorkerRunning
Check whether worker is running or not
- (BOOL)isWorkerRunning
Return 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