node

fun node(provisioner: Provisioner): Node?

Returns the provisioner's node or null, if the provisioner is not a part of the network or does not have an address assigned.

Return

Null if the provisioner is not a part of the network or if the provisioner does not have an address assigned.

Parameters

provisioner

Provisioner who's node is to be returned.


fun node(): Node?

Returns the provisioned node for an unprovisioned device.

Return

provisioned Node matching the unprovisioned device.

Parameters

device

Unprovisioned node.


fun node(address: Address): Node?

Returns the provisioned node containing an element with the given address.

Return

Node if an element with the given address was found, null otherwise.

Parameters

address

Address of the element.


fun node(address: MeshAddress): Node?

Returns the provisioned node containing an element with the given mesh address.

Return

Node if an element with the given address was found, null otherwise.

Parameters

address

Mesh Address of the element.


fun node(uuid: UUID): Node?

Returns the node with the given uuid.

Return

Node

Parameters

uuid

matching UUID.


fun node(nodeIdentity: NodeIdentity): Node?

Returns the node with the given node identity.

Return

Node or null otherwise.

Parameters

nodeIdentity

Node identity.