Class AbstractFederateAmbassador.InteractionQueue

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractQueue<E>
java.util.concurrent.PriorityBlockingQueue<Interaction>
org.eclipse.mosaic.rti.api.AbstractFederateAmbassador.InteractionQueue
All Implemented Interfaces:
Serializable, Iterable<Interaction>, Collection<Interaction>, BlockingQueue<Interaction>, Queue<Interaction>
Enclosing class:
AbstractFederateAmbassador

protected static class AbstractFederateAmbassador.InteractionQueue extends PriorityBlockingQueue<Interaction>
See Also:
  • Constructor Details

    • InteractionQueue

      protected InteractionQueue()
  • Method Details

    • getNextInteraction

      protected Interaction getNextInteraction(long time)
      Returns the next interaction in the queue whose timestamp is smaller or equal the given time.
      Parameters:
      time - time in [ns]