create

Creates a new instance of InfinityRegistration.

Return

an instance of InfinityRegistration

Parameters

step

a registration step

response

a request registration token response

Throws

if the version of Infinity is not supported


Deprecated (with error)

Use a version of this method that accepts RegistrationStep

Replace with

create(service.newRequest(node).registration(deviceAlias)), response)

Creates a new instance of InfinityRegistration.

Return

an instance of InfinityRegistration

Parameters

service

an instance of InfinityService

node

a URL of the node

deviceAlias

a device alias

response

a request registration token response

Throws

if the version of Infinity is not supported