nextAvailableUnicastAddress
fun nextAvailableUnicastAddress(offset: UnicastAddress = UnicastAddress(minUnicastAddress), elementCount: Int, provisioner: Provisioner): UnicastAddress?
Returns the next available unicast address from the provisioner's range that can be assigned to a new node based on the given number of elements. The zeroth element is identified by the node's Unicast Address. Each following element is identified by a subsequent Unicast Address.
Return
the next available Unicast Address that can be assigned to the node or null if there are no addresses available in the allocated range.
Parameters
offset
Unicast address offset.
elementCount
Number of elements in the node.
provisioner
Provisioner that's provisioning the node.
Throws
if the provisioner has no address range allocated.