The implemented cluster.
ReadonlyeventsAccess the behavior's events.
Optional ReadonlyconnectionThe ConnectionStatus Event shall indicate that a Node’s connection status to a Thread network has changed.
Optional ReadonlynetworkThe NetworkFaultChange Event shall indicate a change in the set of network faults currently detected by the Node.
Supported features as a flag object.
ReadonlystateAccess the behavior's state.
ReadonlyactiveReadonlychannel: null | numberThe Channel attribute shall indicate the 802.15.4 channel number configured on the Node’s Thread interface (that is, the Active Operational Dataset’s current Channel value). A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlychannelThe ChannelPage0Mask attribute indicates the channels within channel page 0, in the 2.4GHz ISM band. The channels are represented in most significant bit order, with bit value 1 meaning selected, bit value 0 meaning unselected. For example, the most significant bit of the left-most byte indicates channel 0. If channel 0 and channel 10 are selected, the mask would be: 80 20 00 00. Null when there is no dataset configured.
ReadonlydataThe DataVersion attribute shall indicate the full Network Data Version the Node currently uses. Null if not attached to a Thread network.
ReadonlyextendedThe ExtendedPanId attribute shall indicate the unique 64-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlyleaderThe LeaderRouterId attribute shall indicate the 8-bit LeaderRouterId the Node shall attempt to utilize upon becoming a router or leader on the Thread network. Null if not attached to a Thread network.
ReadonlymeshThe MeshLocalPrefix attribute shall indicate the mesh-local IPv6 prefix for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlyneighborThe NeighborTable attribute shall indicate the current list of Nodes that comprise the neighbor table on the Node.
ReadonlynetworkThe NetworkName attribute shall indicate a human-readable (displayable) name for the Thread network that the Node has been configured to join to. A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlyoperationalThe OperationalDatasetComponents attribute is a collection of flags to indicate the presence of various operationally acquired values.
ReadonlypanThe PanId attribute shall indicate the 16-bit identifier of the Node on the Thread network. A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlypartitionThe PartitionId attribute shall indicate the Thread Leader Partition Id for the Thread network to which the Node is joined. Null if not attached to a Thread network.
ReadonlyrouteThe RouteTable attribute shall indicate the current list of router capable Nodes for which routes have been established.
ReadonlyroutingThe RoutingRole attribute shall indicate the role that this Node has within the routing of messages through the Thread network, as defined by RoutingRoleEnum. The potential roles are defined in the following table. A value of null shall indicate that the Thread interface is not currently configured or operational.
ReadonlysecurityThe SecurityPolicy attribute indicates the current security policies for the Thread partition to which a Node is connected. Null when there is no dataset configured.
ReadonlystableThe StableDataVersion attribute shall indicate the Network Data Version for the stable subset of
data the Node currently uses. Null if not attached to a Thread network.
Readonlyweighting: null | numberThe Weighting attribute shall indicate the Thread Leader Weight used when operating in the Leader role. Null if not attached to a Thread network.
Optional ReadonlyactiveNull when there is no dataset configured.
Optional Readonlydelay?: null | numberNull when there is no dataset configured.
Optional ReadonlypendingNull when there is no dataset configured.
Static ReadonlyclusterBase cluster state include all attribute values but may be extended by subclasses.
Static ReadonlydefaultsStatic Optional ReadonlydependenciesStatic ReadonlyearlyStatic ReadonlyEventsStatic ReadonlyExtensionStatic ReadonlyidThe behavior ID for ClusterBehaviors is the name of the cluster.
Static ReadonlyInterfaceStatic ReadonlyInternalImplementation of internal state. Subclasses may override to extend.
Static ReadonlynameStatic Optional ReadonlyschemaStatic ReadonlyStateStatic ReadonlysupervisorStaticsupportsDoes this behavior support functionality of a specific implementation?
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
Execute logic with elevated privileges.
The provided function executes with privileges escalated to offline mode. This is not commonly necessary.
Elevated logic effectively ignores ACLs so should be used with care.
Note that interactions with the behavior will remain elevated until the synchronous completion of this call. You should only elevate privileges for synchronous logic.
the elevated logic
ProtectedcallbackCreate a generic callback function that has the same properties as a Reactor.
Like a reactor, the callback's "this" will be bound to an active Behavior instance. Because of this: The reactor MUST be a real JS function - arrow functions will not work!
Behaviors are ephemeral and should not perform initialization in their constructor. They can override this method instead.
This method may be synchronous or asyncronous. If asynchronous, the behavior will not be available for external use until initialization completes.
Optional_options: {}ProtectedreactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
StaticalterStaticenableStaticforStaticsetStaticwith
This is the default server implementation of ThreadNetworkDiagnosticsBehavior.