EndpointRegistrationProcessor Protocol Reference

Declared in EndpointRegistrationProcessor.h

Overview

This processor applies endpoint registration updates received from the remote server.

– getAttachEndpointRequests required method

Retrieves current attach requests.

- (NSDictionary *)getAttachEndpointRequests

Return Value

Dictionary <NSNumber, EndpointAccessToken> (key-value) of access tokens.

Discussion

Retrieves current attach requests.

Declared In

EndpointRegistrationProcessor.h

– getDetachEndpointRequests required method

Retrieves current detach requests.

- (NSDictionary *)getDetachEndpointRequests

Return Value

Dictionary <NSNumber, EndpointKeyHash> (key-value) of endpoint key hashes.

Discussion

Retrieves current detach requests.

Declared In

EndpointRegistrationProcessor.h

– getUserAttachRequest required method

Retrieves the user attach request.

- (UserAttachRequest *)getUserAttachRequest

Return Value

The user attach request.

Discussion

Retrieves the user attach request.

Declared In

EndpointRegistrationProcessor.h

– onUpdateWithAttachResponses:detachResponses:userResponse:userAttachNotification:userDetachNotification: required method

Updates the manager’s state.

- (void)onUpdateWithAttachResponses:(NSArray *)attachResponses detachResponses:(NSArray *)detachResponses userResponse:(UserAttachResponse *)userResponse userAttachNotification:(UserAttachNotification *)attachNotification userDetachNotification:(UserDetachNotification *)detachNotification

Parameters

attachResponses

An array of attach responses.

detachResponses

An array of detach responses.

userResponse

The user attach response.

Discussion

Updates the manager’s state.

Declared In

EndpointRegistrationProcessor.h