FMIceLinkITimeoutTimer Protocol Reference

Declared in FMIceLinkITimeoutTimer.h

Overview

A thread-safe class for running timeouts on asynchronous methods.

– startWithTimeout: required method

Starts the timer.
- (void)startWithTimeout:(int)timeout

Parameters

timeout

The timeout length, in milliseconds.

Discussion

Starts the timer.

Declared In

FMIceLinkITimeoutTimer.h

– stop required method

Stops the timer, notifying the calling code if the timeout has already elapsed.
- (bool)stop

Return Value

true if the timer was successfully stopped in time; false if the timeout elapsed and the timeout callback has been invoked.

Discussion

Stops the timer, notifying the calling code if the timeout has already elapsed.

Declared In

FMIceLinkITimeoutTimer.h