MCOIMAPAppendMessageOperation Class Reference
Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
Declared in | MCOIMAPAppendMessageOperation.h MCOIMAPAppendMessageOperation.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 append operation.
- (void)start:(void ( ^ ) ( NSError *error , uint32_t createdUID ))completionBlock
Parameters
- completionBlock
Called when the operation is finished.
On success
error
will be nil andcreatedUID
will be the value of the UID of the created message if the server supports UIDPLUS or zero if not.On failure,
error
will be set withMCOErrorDomain
as domain and an error code available in MCOConstants.h,createdUID
will be zero.
Declared In
MCOIMAPAppendMessageOperation.h