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.

Tasks

Other Methods

Other Methods

Instance Methods

cancel

Cancel the operation.

- (void)cancel

Declared In

MCOOperation.h

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 identity operation.

- (void)start:(void ( ^ ) ( NSError *error , NSDictionary *serverIdentity ))completionBlock

Parameters

completionBlock

Called when the operation is finished.

  • On success error will be nil and serverIdentity will contain identifying server information. See RFC2971 for commons dictionary keys.

  • On failure, error will be set with MCOErrorDomain as domain and an error code available in MCOConstants.h, serverIdentity will be nil

Declared In

MCOIMAPIdentityOperation.h