possible states for a room key request
The state machine looks like:
| (cancellation sent) | .-------------------------------------------------. | | | V V (cancellation requested) | UNSENT -----------------------------+ | | | | | | | | (send successful) | CANCELLATION_PENDING_AND_WILL_RESEND V | Λ SENT | | |-------------------------------- | --------------' | | (cancellation requested with intent | | to resend the original request) | | | (cancellation requested) | V |CANCELLATION_PENDING | | | | (cancellation sent) | V |(deleted) <---------------------------+ Copy
| (cancellation sent) | .-------------------------------------------------. | | | V V (cancellation requested) | UNSENT -----------------------------+ | | | | | | | | (send successful) | CANCELLATION_PENDING_AND_WILL_RESEND V | Λ SENT | | |-------------------------------- | --------------' | | (cancellation requested with intent | | to resend the original request) | | | (cancellation requested) | V |CANCELLATION_PENDING | | | | (cancellation sent) | V |(deleted) <---------------------------+
reply received, cancellation not yet sent
Cancellation not yet sent and will transition to UNSENT instead of being deleted once the cancellation has been sent.
request sent, awaiting reply
request not yet sent
possible states for a room key request
The state machine looks like: