add the api for the read of the state of a determinated command(alzo executed). The queue of the state
has a max size, so avery some times the queue is checked and managed to remain to the max size

Change-Id: I628e93253a6d0a379fa2844db0ecea5210c11b75