interfaces extracted for Client and Queue classes