Readonly
eventsAccess the behavior's events.
Supported features as a flag object.
Readonly
stateAccess the behavior's state.
Readonly
nameThis attribute provides legacy, read-only access to whether the Group Names feature is supported. The most significant bit, bit 7 (GroupNames), shall be equal to bit 0 of the FeatureMap attribute (GN Feature). All other bits shall be 0.
Release resources. This is the public API for releasing application resources held by behaviors in internal state.
The AddGroup command allows a client to add group membership in a particular group for the server endpoint.
The AddGroupIfIdentifying command allows a client to add group membership in a particular group for the server endpoint, on condition that the endpoint is identifying itself. Identifying functionality is controlled using the Identify cluster, (see Identify Cluster).
For correct operation of the AddGroupIfIdentifying command, any endpoint that supports the Groups server cluster shall also support the Identify server cluster.
This command might be used to assist configuring group membership in the absence of a commissioning tool.
Protected
callbackCreate 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!
The GetGroupMembership command allows a client to inquire about the group membership of the server endpoint, in a number of ways.
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: {}Protected
reactInstall a Reactor.
Important: The reactor MUST be a real JS function - arrow functions will not work!
The RemoveAllGroups command allows a client to direct the server to remove all group associations for the server endpoint.
The RemoveGroup command allows a client to request that the server removes the membership for the server endpoint, if any, in a particular group.
The ViewGroup command allows a client to request that the server responds with a ViewGroupResponse command containing the name string for a particular group.
The implemented cluster.