cz.zcu.fav.kiv.jsim.hla
Class JSimHLACallbackQueue

java.lang.Object
  extended bycz.zcu.fav.kiv.jsim.hla.JSimHLACallbackQueue

public class JSimHLACallbackQueue
extends java.lang.Object

JSimHLACallbackQueue represents queue for received RTI callbacks. It must be synchronized for concurrent access. You should never need to create an instance of this class.

Author:
Stanislav Kozina
See Also:
JSimHLAReceivedInteractionCallback

Constructor Summary
JSimHLACallbackQueue()
          Creates an instance of JSimHLACallbackQueue.
 
Method Summary
 java.lang.Object dequeue()
          Dequeues first object from the queue.
 void enqueue(java.lang.Object object)
          Enqueues specified object into the queue.
 boolean isEmpty()
          Returns true if the queue is empty, false otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSimHLACallbackQueue

public JSimHLACallbackQueue()
Creates an instance of JSimHLACallbackQueue. You should never need to create an instance of this class.

Method Detail

enqueue

public void enqueue(java.lang.Object object)
Enqueues specified object into the queue.

Parameters:
object - Object to enqueue.

dequeue

public java.lang.Object dequeue()
Dequeues first object from the queue.

Returns:
First object in queue.

isEmpty

public boolean isEmpty()
Returns true if the queue is empty, false otherwise.

Returns:
True if the queue is empty, false otherwise.