Readonly eventGets a counter of event emit calls.
Gets a counter map from events to new listener counts
Readonly nodeGets an internal unique node identifier, mostly used for debugging.
Readonly serviceParent service
Gets a counter for the CHANGE event.
Gets the event friendly name.
Gets the node identifier in the JDOM tree
Gets the event name, if specified.
Gets a databag to store custom information
Returns REGISTER_NODE_NAME
Indicates if the member is not implemented on the server side
Gets the qualitified event name, if specified.
Unregisters a handler for one or more events
name or names of the events to subscribe
handler to unregister
current object instance
Registers a handler for one or more events
name or names of the events to subscribe
handler to register
current object instance
Registers a handler for one or more events to run only once.
name or names of the events to subscribe
handler to execute
current object instance
Subscribes to an event and returns the unsubscription handler
Subscribes to an event and returns the unsubscription handler
JDOM
Gets the data as a boolean
Gets the raw data from the last report packet
Gets a pretty printed represention of the data
Gets the data as a signed integer
Gets the timestamp when received the last report with data
Gets the data from the last report packet, unpacked and hydrated into an object.
Gets the data as a string
Gets the data as a unsigned integer
Get the data from the last report packet, unpacked according to the specification.
Awaits an event with a timeout. Throws JacdacError with timeout if operation does not return.
Optional token: JDCancellationTokenNumber of attempts to send a get packet without response
Timestamp of the last register get packet
Timestamp of the last register set packet
Send a message to set the register value
message to pack and send
Optional autoRefresh: booleanimmediately send a get packet
Readonly codeIdentifier of the event.
Gets the event specification if known.
Generated using TypeDoc
A Jacdac register client.