Diffusion Apple API
6.10.4
Unified Client Library for iOS, tvOS and OS X / macOS
|
Listener for client message queue events from the server.
Instance Methods | |
(void) | - diffusionQueueEventListenerRegistration:didReportPolicyChange:forSession: |
(void) | - diffusionQueueEventListenerRegistrationDidClose: |
(void) | - diffusionQueueEventListenerRegistration:didFailWithError: |
- (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.
registration | The message queue event listener registration for which this listener applies. |
error | The failure reason. |
- (void) diffusionQueueEventListenerRegistration: | (PTDiffusionRegistration *) | registration | |
didReportPolicyChange: | (PTDiffusionClientQueuePolicy *) | policy | |
forSession: | (PTDiffusionSessionId *) | sessionId | |
Called when the message queue policy changes
registration | The message queue event listener registration for which this listener applies |
policy | The new message queue policy for the session |
sessionId | The session ID of the affected session |
- (void) diffusionQueueEventListenerRegistrationDidClose: | (PTDiffusionRegistration *) | registration |
Called if the handler is closed.
No further calls will be made to this handler.
registration | The message queue event listener registration for which this listener applies |