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

Introduction

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
Inheritance diagram for PTDiffusionSessionDelayedReconnectionStrategy:
<PTDiffusionSessionReconnectionStrategy>

Properties

NSTimeInterval delay

Instance Methods

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

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