Diffusion Apple API 6.12.0
Unified Client Library for iOS, tvOS and OS X / macOS
Loading...
Searching...
No Matches
Session management

Classes

class  PTDiffusionCredentials
 Credentials contain the proof material to support an authentication request. More...
class  PTDiffusionRetryStrategy
 Defines a retry strategy. More...
class  PTDiffusionSession
 A client session to a server (or cluster of servers). More...
class  PTDiffusionSessionConfiguration
 A session configuration defines behavior and policies to use when connecting to Diffusion. More...
class  PTDiffusionSessionId
 A session ID is a unique session identifier, allocated by the server. More...
class  PTDiffusionSessionReconnectionAttempt
 A session reconnection attempt can either be started or aborted. More...
protocol  <PTDiffusionSessionReconnectionStrategy>
 The session reconnection strategy protocol defines the behaviour for a session when recovering a failed connection. More...
class  PTDiffusionSessionState
 Session state represents the condition a session has in respect of connectivity to a Diffusion server. More...
protocol  <PTDiffusionSessionStateChangeDelegate>
 The optional delegate for a session which may be used to receive state notifications. More...
class  PTDiffusionStream
 A stream represents an asynchronous, variable length feed of updates from the Diffusion server. More...
protocol  <PTDiffusionStreamDelegate>
 The stream delegate protocol defines the methods to be implemented by classes wishing to receive streaming updates. More...

Variables

NSString *const PTDiffusionSessionStateDidChangeNotification
 The name used for session state change notifications.

Detailed Description

Establishing sessions with the Diffusion Server.

Variable Documentation

◆ PTDiffusionSessionStateDidChangeNotification

- (NSString* const) PTDiffusionSessionStateDidChangeNotification
related

The name used for session state change notifications.

The notification's userInfo dictionary contains a PTDiffusionSessionStateChange object that describes the state change, accessed using PTDiffusionSessionStateChangeUserInfoKey.

See also
PTDiffusionSessionStateChangeUserInfoKey
Note
Session state change notifications are notified from the main dispatch queue and are delivered after both KVO notifications on the session's state property and any invocations of completion callback handler blocks.
Since
5.6