MCOIMAPFetchParsedContentOperation Class Reference
Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
Declared in | MCOIMAPFetchParsedContentOperation.h MCOIMAPFetchParsedContentOperation.mm |
Instance Methods
operationCompleted
This methods is called on the main thread when the asynchronous operation is finished. Needs to be overriden by subclasses.
- (void)operationCompleted
Declared In
MCOOperation.h
start:
Starts the asynchronous fetch operation.
- (void)start:(void ( ^ ) ( NSError *error , MCOMessageParser *parser ))completionBlock
Parameters
- completionBlock
Called when the operation is finished.
On success
error
will be nil andparser
will contain the requested messageOn failure,
error
will be set withMCOErrorDomain
as domain and an error code available inMCOConstants.h
,data
will be nil
Declared In
MCOIMAPFetchParsedContentOperation.h