Remote Command Store
Constructors
Functions
Link copied to clipboard
Add a new command, after which it will be pending. Returns false if the command is already active.
Link copied to clipboard
open override fun addRemoteCommandAt(deviceId: String, command: RemoteCommand, when: Timestamp): Boolean
Add a new command with an explicit timestamp. Primarily used by tests.
Link copied to clipboard
Link copied to clipboard
Return all unsent commands. This is for the code sending the commands, result is sorted by time_requested.
Link copied to clipboard
Removes the remote command. Typically used to implement "undo" but may also be used by the queue processor when it gives up trying to send a command.
Link copied to clipboard
Flag a command as sent.
Link copied to clipboard