void control(const lock::LockCall &call) override
This class is used to encode all control actions on a lock device.
const optional< LockState > & get_state() const
Base class for all locks.
void publish_state(LockState state)
Publish a state to the front-end from the back-end.
LockState state
The current reported state of the lock.
Providing packet encoding functions for exchanging data with a remote host.