|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.ReceiveOrderQueue
ReceiveOrderQueue represents FIFO receive queue for receive order (RO) messages. Receive order messages are sorted as they arrive.
HLAMessage| Constructor Summary | |
ReceiveOrderQueue()
Creates an instance of ReceiveOrderQueue. |
|
| Method Summary | |
HLAMessage |
dequeue()
Dequeues and returns first message in queue or null if the queue is epmty. |
void |
enqueue(HLAMessage message)
Enqueues specified message into the queue. |
int |
getLength()
Returns the length of 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 |
public ReceiveOrderQueue()
| Method Detail |
public boolean isEmpty()
public void enqueue(HLAMessage message)
message - message to enqueuepublic HLAMessage dequeue()
public int getLength()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||