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

Introduction

A session reconnection attempt can either be started or aborted.

See also
PTDffusionSessionReconnectionStrategy
Since
5.6
Inheritance diagram for PTDiffusionSessionReconnectionAttempt:

Properties

NSUInteger attempt

Instance Methods

(void) - start
(void) - abort

Method Documentation

◆ abort

- (void) abort

Request that the session aborts the reconnection attempt.

Since
5.6

◆ start

- (void) start

Request that the session starts the reconnection attempt.

Since
5.6

Property Documentation

◆ attempt

- (NSUInteger) attempt
readnonatomicassign

The reconnection attempt number.

On the first reconnection attempt after a disconnection this will be set to 1, and will be incremented by 1 for each subsequent attempt.

This provides the implementation with the ability to vary its behaviour according to the number of attempts that have been made.

Since
6.13