public RemoteEvent dequeue(){
  Uuid uuid=_readyEvents.poll();
  if (uuid == null)   return null;
  SingleProducer producer=getProducer(uuid);
  return producer.popNextReadyEvent();
}

public RemoteEvent dequeue ( ) { Uuid uuid = _readyEvents . poll ( ) ; if ( uuid == null ) return null ; SingleProducer producer = getProducer ( uuid ) ; return producer . popNextReadyEvent ( ) ; }
remove and return the next event in queue . if the queue is empty the method will block until an event arrives note : this method is not concurrent and must be called from one thread only .
