Inherits from MCOIMAPBaseOperation : MCOOperation : NSObject
Declared in MCOIMAPCapabilityOperation.h
MCOIMAPCapabilityOperation.mm

Overview

This class implements an operation to query for IMAP capabilities, like for example the extensions UIDPLUS, IDLE, NAMESPACE, … etc

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

- (void)start:(void ( ^ ) ( NSError *error , MCOIndexSet *capabilities ))completionBlock

Parameters

completionBlock

Called when the operation is finished.

  • On success error will be nil and capabilities will contain a set of IMAP capabilities. See MCOConstants.h under MCOIMAPCapability for a list of possible values.

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

Declared In

MCOIMAPCapabilityOperation.h