Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Properties | Instance Methods | List of all members
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) - init
 
(instancetype) - initWithDelay:
 
- Instance Methods inherited from <PTDiffusionSessionReconnectionStrategy>
(void) - diffusionSession:wishesToReconnectWithAttempt:
 

Method Documentation

- (instancetype) init

Returns a delayed reconnection strategy initialised with a default 5 second delay.

Since
5.6
- (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.
Since
5.6

Property Documentation

- (NSTimeInterval) delay
readnonatomicassign

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

Since
5.6