![]() |
CommandServiceManager -1.00
Phoenix engine interface
|
#import <CommandExecutor.h>
Public Member Functions | |
(void) | - start |
(void) | - executeNewRequest: |
(void) | - executeResumeRequest: |
(void) | - cancelRunningRequest: |
Static Public Member Functions | |
(CommandExecutor *) | + sharedManager |
(CommandExecutor *) | + sharedManagerWithCSM:withSSM: |
Properties | |
Request * | request |
ASIHTTPRequest * | httpRequest |
CommandServiceManager * | CSM |
SessionManager * | SSM |
BOOL | isIdle |
BOOL | isThreadCreated |
BOOL | stopFlag |
Class that spawn a new thread fetch request from priority queue in CommandServiceManager then execute request
- (void) cancelRunningRequest: | (uint32_t) | CSID |
Cancel running request by set flag to stop the request
- (void) executeNewRequest: | (NewRequest *) | newRequest |
Will be called by onThread method to execute new request
newRequest |
- (void) executeResumeRequest: | (ResumeRequest *) | resumeRequest |
Will be called by onThread method to execute resume request
+ (CommandExecutor *) sharedManager |
Get singleton CommandExecutor object
+ (CommandExecutor *) sharedManagerWithCSM: | (CommandServiceManager *) | csm | |
withSSM: | (SessionManager *) | ssm | |
Get singleton CommandServiceManager object then set payload path and database path at that time
csm | shared command service manager |
ssm | shared sesssion manager |
- (void) start |
Start executing