MCONNTPFetchServerTimeOperation Class Reference
| Inherits from | MCONNTPOperation : MCOOperation : NSObject |
| Declared in | MCONNTPFetchServerTimeOperation.h MCONNTPFetchServerTimeOperation.mm |
Overview
This is an asynchronous operation that will fetch the list of a messages on the NNTP server.
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 fetch operation.
- (void)start:(void ( ^ ) ( NSError *error , NSDate *date ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil anddatewill be the server’s date and time as an NSDate.On failure,
errorwill be set withMCOErrorDomainas domain and an error code available in MCOConstants.h,messageswill be null
Declared In
MCONNTPFetchServerTimeOperation.h