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

Introduction

Listener for client message queue events from the server.

See Also
PTDiffusionClientControlFeature
Since
6.6

Instance Methods

(void) - diffusionQueueEventListenerRegistration:didReportPolicyChange:forSession:
 
(void) - diffusionQueueEventListenerRegistrationDidClose:
 
(void) - diffusionQueueEventListenerRegistration:didFailWithError:
 

Method Documentation

- (void) diffusionQueueEventListenerRegistration: (PTDiffusionRegistration *)  registration
didFailWithError: (NSError *)  error 

Called in the event of a contextual error relating to this handler.

No further calls will be made to this handler.

Parameters
registrationThe message queue event listener registration for which this listener applies.
errorThe failure reason.
Since
6.6
- (void) diffusionQueueEventListenerRegistration: (PTDiffusionRegistration *)  registration
didReportPolicyChange: (PTDiffusionClientQueuePolicy *)  policy
forSession: (PTDiffusionSessionId *)  sessionId 

Called when the message queue policy changes

Parameters
registrationThe message queue event listener registration for which this listener applies
policyThe new message queue policy for the session
sessionIdThe session ID of the affected session
Since
6.6
- (void) diffusionQueueEventListenerRegistrationDidClose: (PTDiffusionRegistration *)  registration

Called if the handler is closed.

No further calls will be made to this handler.

Parameters
registrationThe message queue event listener registration for which this listener applies
Since
6.6