Inherits from MCONNTPOperation : MCOOperation : NSObject
Declared in MCONNTPFetchAllArticlesOperation.h
MCONNTPFetchAllArticlesOperation.mm

Overview

This is an asynchronous operation that will fetch the list of a messages on the NNTP server.

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

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

Parameters

completionBlock

Called when the operation is finished.

  • On success error will be nil and articles will be an index set of article numbers.

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

Declared In

MCONNTPFetchAllArticlesOperation.h