added getQueue method
Merge pull request #3 from hzucareli/master

added getQueue method