Contains logic for the Set to Idle command.
ByteStream buildCommand( |
| ) |
Builds the SetToIdle command packet.
nodeAddress | the address of the Node to build the command for. |
A ByteStream containing the SetToIdle command packet
Handles the response to the SetToIdle command
Response( |
| ) |
Creates a SetToIdle Response object
nodeAddress | the node address to check for. |
collector std::weak_ptr<ResponseCollector> | The ResponseCollector used to register and unregister the response. |
baseStation const BaseStation& | The BaseStation that will send the command (used for canceling this command). |
Destroys the SetToIdle Response object. This also cancels the SetToIdle operation on the BaseStation, if not already complete or canceled.
The node address to look for in the response.
The <SetToIdleResult> detailing the result of the Set to Idle command.
The BaseStation that will send the command (used for canceling this command).
The mutex used for thread safety.
virtual bool match( |
| ) override |
Checks if the bytes passed in match the response pattern from their current read position.
data | The DataBuffer containing the bytes in which to try to find the pattern. |
true if the response pattern was found, false otherwise.
Attempts to cancel the Stop Node operation.
Error_Communication: Failed to cancel the Stop Node operation.
Gets the <SetToIdleResult> of the Stop Node command.
The <SetToIdleResult> containing the result of the Stop Node command.