'Purge all of the messages from the specified queue
:param callable callback: The callback to call on Queue.PurgeOk;
MUST be None when nowait=True.
:param queue: The queue to purge
:type queue: str or unicode
:param bool nowait: Do not expect a Queue.PurgeOk response'

def queue_purge(self, callback=None, queue='', nowait=False):

    replies = ([spec.Queue.PurgeOk] if (nowait is False) else [])
    self._validate_channel_and_callback(callback)
    return self._rpc(spec.Queue.Purge(0, queue, nowait), callback, replies)
