Diffusion Apple API  6.2.0
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Instance Methods | List of all members
<PTDiffusionSessionReconnectionStrategy> Protocol Reference

Introduction

The session reconnection strategy protocol defines the behaviour for a session when recovering a failed connection.

See Also
PTDiffusionSessionConfiguration
Since
5.6
Inheritance diagram for <PTDiffusionSessionReconnectionStrategy>:
PTDiffusionSessionDelayedReconnectionStrategy PTDiffusionSessionImmediateAbortReconnectionStrategy

Instance Methods

(void) - diffusionSession:wishesToReconnectWithAttempt:
 

Method Documentation

- (void) diffusionSession: (PTDiffusionSession *)  session
wishesToReconnectWithAttempt: (PTDiffusionSessionReconnectionAttempt *)  attempt 

The connection has failed when connecting or connected and the session is now in a recovering state.

Parameters
sessionThe session which is recovering.
attemptThe reconnection attempt object providing start and abort methods to be used by the implementing strategy immediately or at some point in the future to instruct the session how to proceed.
Since
5.6