MessageDispatcher<T> class abstract

MessageDispatcher processes Z-Wave messages received from the controller and dispatches them to the various handle

Implementers

Constructors

MessageDispatcher()

Properties

handlers List<T? Function(List<int>)>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
logger → Logger
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispatch(List<int> data) → T?
handleApplicationCommandHandler(List<int> data) → T?
FUNC_ID_APPLICATION_COMMAND_HANDLER
inherited
handleApplicationSlaveCommandHandler(List<int> data) → T?
FUNC_ID_APPLICATION_SLAVE_COMMAND_HANDLER - Slave command handler
inherited
handleMemoryGetByte(List<int> data) → T?
FUNC_ID_MEMORY_GET_BYTE
inherited
handlePromiscuousApplicationCommandHandler(List<int> data) → T?
FUNC_ID_PROMISCUOUS_APPLICATION_COMMAND_HANDLER
inherited
handleSerialApiApplNodeInformation(List<int> data) → T?
FUNC_ID_SERIAL_API_APPL_NODE_INFORMATION
inherited
handleSerialApiGetCapabilities(List<int> data) → T?
FUNC_ID_SERIAL_API_GET_CAPABILITIES
inherited
handleSerialApiGetInitData(List<int> data) → T?
FUNC_ID_SERIAL_API_GET_INIT_DATA
inherited
handleSerialApiSetTimeouts(List<int> data) → T?
FUNC_ID_SERIAL_API_SET_TIMEOUTS
inherited
handleSerialApiSlaveNodeInfo(List<int> data) → T?
FUNC_ID_SERIAL_API_SLAVE_NODE_INFO - Set application virtual slave node information
inherited
handleSerialApiSoftReset(List<int> data) → T?
FUNC_ID_SERIAL_API_SOFT_RESET
inherited
handleUnknownFunctionId(List<int> data) → T?
inherited
handleZwAddNodeToNetwork(List<int> data) → T?
FUNC_ID_ZW_ADD_NODE_TO_NETWORK - Control the addnode (or addcontroller) process...start, stop, etc.
inherited
handleZwApplicationUpdate(List<int> data) → T?
FUNC_ID_ZW_APPLICATION_UPDATE - Get a list of supported (and controller) command classes
inherited
handleZwAssignReturnRoute(List<int> data) → T?
FUNC_ID_ZW_ASSIGN_RETURN_ROUTE - Assign a return route from the specified node to the controller
inherited
handleZwAssignSucReturnRoute(List<int> data) → T?
FUNC_ID_ZW_ASSIGN_SUC_RETURN_ROUTE - Assign a return route to the SUC
inherited
handleZwControllerChange(List<int> data) → T?
FUNC_ID_ZW_CONTROLLER_CHANGE - Control the transferprimary process...start, stop, etc.
inherited
handleZwCreateNewPrimary(List<int> data) → T?
FUNC_ID_ZW_CREATE_NEW_PRIMARY - Control the createnewprimary process...start, stop, etc.
inherited
handleZwDeleteReturnRoute(List<int> data) → T?
FUNC_ID_ZW_DELETE_RETURN_ROUTE - Delete all return routes from the specified node
inherited
handleZwDeleteSucReturnRoute(List<int> data) → T?
FUNC_ID_ZW_DELETE_SUC_RETURN_ROUTE - Remove return routes to the SUC
inherited
handleZwEnableSuc(List<int> data) → T?
FUNC_ID_ZW_ENABLE_SUC - Make a controller a Static Update Controller
inherited
handleZwExploreRequestInclusion(List<int> data) → T?
FUNC_ID_ZW_EXPLORE_REQUEST_INCLUSION - supports NWI
inherited
handleZwGetControllerCapabilities(List<int> data) → T?
FUNC_ID_ZW_GET_CONTROLLER_CAPABILITIES
inherited
handleZwGetNodeProtocolInfo(List<int> data) → T?
FUNC_ID_ZW_GET_NODE_PROTOCOL_INFO - Get protocol info (baud rate, listening, etc.) for a given node
inherited
handleZwGetRandom(List<int> data) → T?
FUNC_ID_ZW_GET_RANDOM
inherited
handleZwGetRoutingInfo(List<int> data) → T?
FUNC_ID_ZW_GET_ROUTING_INFO - Get a specified node's neighbor information from the controller
inherited
handleZwGetSucNodeId(List<int> data) → T?
FUNC_ID_ZW_GET_SUC_NODE_ID - Try to retrieve a Static Update Controller node id (zero if no SUC present)
inherited
handleZwGetVersion(List<int> data) → T?
FUNC_ID_ZW_GET_VERSION
inherited
handleZwGetVirtualNodes(List<int> data) → T?
FUNC_ID_ZW_GET_VIRTUAL_NODES - Return all virtual nodes
inherited
handleZwIsFailedNodeId(List<int> data) → T?
FUNC_ID_ZW_IS_FAILED_NODE_ID - Check to see if a specified node has failed
inherited
handleZwIsVirtualNode(List<int> data) → T?
FUNC_ID_ZW_IS_VIRTUAL_NODE - Virtual node test
inherited
handleZwMemoryGetId(List<int> data) → T?
FUNC_ID_ZW_MEMORY_GET_ID
inherited
handleZwNewController(List<int> data) → T?
FUNC_ID_ZW_NEW_CONTROLLER
inherited
handleZwReadMemory(List<int> data) → T?
FUNC_ID_ZW_READ_MEMORY
inherited
handleZwRemoveFailedNodeId(List<int> data) → T?
FUNC_ID_ZW_REMOVE_FAILED_NODE_ID - Mark a specified node id as failed
inherited
handleZwRemoveNodeFromNetwork(List<int> data) → T?
FUNC_ID_ZW_REMOVE_NODE_FROM_NETWORK - Control the removenode (or removecontroller) process...start, stop, etc.
inherited
handleZwReplaceFailedNode(List<int> data) → T?
FUNC_ID_ZW_REPLACE_FAILED_NODE - Remove a failed node from the controller's list (?)
inherited
handleZwReplicationCommandComplete(List<int> data) → T?
FUNC_ID_ZW_REPLICATION_COMMAND_COMPLETE - Replication send data complete
inherited
handleZwReplicationSendData(List<int> data) → T?
FUNC_ID_ZW_REPLICATION_SEND_DATA - Replication send data
inherited
handleZwRequestNetworkUpdate(List<int> data) → T?
FUNC_ID_ZW_REQUEST_NETWORK_UPDATE - Network update for a SUC(?)
inherited
handleZwRequestNodeInfo(List<int> data) → T?
FUNC_ID_ZW_REQUEST_NODE_INFO - Get info (supported command classes) for the specified node
inherited
handleZwRequestNodeNeighborUpdate(List<int> data) → T?
FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE - Ask the specified node to update its neighbors (then read them from the controller)
inherited
handleZwRequestNodeNeighborUpdateOptions(List<int> data) → T?
FUNC_ID_ZW_REQUEST_NODE_NEIGHBOR_UPDATE_OPTIONS - Allow options for request node neighbor update
inherited
handleZwRFPowerLevelSet(List<int> data) → T?
FUNC_ID_ZW_R_F_POWER_LEVEL_SET
inherited
handleZwSendData(List<int> data) → T?
FUNC_ID_ZW_SEND_DATA
inherited
handleZwSendNodeInformation(List<int> data) → T?
FUNC_ID_ZW_SEND_NODE_INFORMATION
inherited
handleZwSendSlaveData(List<int> data) → T?
FUNC_ID_ZW_SEND_SLAVE_DATA - Send data from slave
inherited
handleZwSendSlaveNodeInfo(List<int> data) → T?
FUNC_ID_ZW_SEND_SLAVE_NODE_INFO - Send a slave node information frame
inherited
handleZwSetDefault(List<int> data) → T?
FUNC_ID_ZW_SET_DEFAULT - Reset controller and node info to default (original) values
inherited
handleZwSetLearnMode(List<int> data) → T?
FUNC_ID_ZW_SET_LEARN_MODE - Put a controller into learn mode for replication/ receipt of configuration info
inherited
handleZwSetLearnNodeState(List<int> data) → T?
FUNC_ID_ZW_SET_LEARN_NODE_STATE
inherited
handleZwSetPromiscuousMode(List<int> data) → T?
FUNC_ID_ZW_SET_PROMISCUOUS_MODE - Set controller into promiscuous mode to listen to all frames
inherited
handleZwSetSlaveLearnMode(List<int> data) → T?
FUNC_ID_ZW_SET_SLAVE_LEARN_MODE - Enter slave learn mode
inherited
handleZwSetSucNodeId(List<int> data) → T?
FUNC_ID_ZW_SET_SUC_NODE_ID - Identify a Static Update Controller node id
inherited
initHandlers() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
unhandledMessage(int functId, String functName, List<int> data) → T?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited