MCOIMAPIdentityOperation Class Reference
| Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
| Declared in | MCOIMAPIdentityOperation.h MCOIMAPIdentityOperation.mm |
Overview
This class implements an operation to get the servers identification info or to send the clients identification info. Useful for bug reports and usage statistics. @warn Not all servers support this.
Instance Methods
operationCompleted
This methods is called on the main thread when the asynchronous operation is finished. Needs to be overriden by subclasses.
- (void)operationCompletedDeclared In
MCOOperation.hstart:
Starts the asynchronous identity operation.
- (void)start:(void ( ^ ) ( NSError *error , NSDictionary *serverIdentity ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil andserverIdentitywill contain identifying server information. See RFC2971 for commons dictionary keys.On failure,
errorwill be set withMCOErrorDomainas domain and an error code available inMCOConstants.h,serverIdentitywill be nil
Declared In
MCOIMAPIdentityOperation.h