remove

fun remove(provisioner: Provisioner)

Removes the given provisioner from the list of provisioners in the network.

Parameters

provisioner

Provisioner to be removed.

Throws

if the the provisioner does not belong to this network.

if there is only one provisioner.


fun remove(key: NetworkKey)

Removes a given NetworkKey from the list of network keys in the mesh network.

Parameters

key

Network key to be removed.

Throws

if the key does not belong to this network.

if the key is known to any node in the network or bound to any application key in this network.


Removes a given ApplicationKey from the list of application keys in the mesh network.

Parameters

key

Application key to be removed.

Throws

if the key does not belong to this network.

if the key is known to any node in the network.


fun remove(node: Node)

Removes a given node from the list of nodes in the mesh network.

Parameters

node

Node to be removed.


fun remove(group: Group)

Removes a given Group from the list of groups in the mesh network.

Parameters

group

Group to be removed.

Throws

If the group does not belong to the network.

If the group is already in use.


fun remove(scene: Scene)

Removes a given Scene from the list of groups in the mesh network.

Parameters

scene

Scene to be removed.

Throws

If the scene does not belong to the network.

If the scene is already in use.