Diffusion Apple API 6.12.1
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
PTDiffusionSessionDelayedReconnectionStrategy Class Reference

Delayed is a default reconnection strategy supplied with the client library. More...

#include <PTDiffusionSessionReconnectionStrategy.h>

Inheritance diagram for PTDiffusionSessionDelayedReconnectionStrategy:
<PTDiffusionSessionReconnectionStrategy>

Instance Methods

(instancetype) - initWithDelay:
Instance Methods inherited from <PTDiffusionSessionReconnectionStrategy>
(void) - diffusionSession:wishesToReconnectWithAttempt:

Properties

NSTimeInterval delay

Detailed Description

Delayed is a default reconnection strategy supplied with the client library.

This strategy attempts to reconnect after a fixed delay specified in seconds.

Since
5.6

Method Documentation

◆ initWithDelay:

- (instancetype) initWithDelay: (NSTimeInterval) delay

Returns a delayed reconnection strategy initialised with the given delay.

Parameters
delayThe delay in seconds, after which point the receiver will call the session reconnection attempt's start method.
Returns
The delayed reconnection strategy instance initialised with the given delay.
Since
5.6

Property Documentation

◆ delay

- (NSTimeInterval) delay
readnonatomicassign

The delay, in seconds, after which point the receiver will call the session reconnection attempt's start method.

Since
5.6