org.xlattice.protocol.stun
Class MessageQueue

java.lang.Object
  extended by org.xlattice.protocol.stun.MessageQueue

public class MessageQueue
extends java.lang.Object

A STUN message queue is initialized with one or nine times representing the time at which copies of a message should be sent and a timeout. The message has a quasi-unique and quasi-random message ID. If a response with the message ID has been received before timeout occurs, the queue is cleared.

Author:
Jim Dixon

Field Summary
 byte[] messageID
           
 
Constructor Summary
MessageQueue(StunMsg msg)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageID

public final byte[] messageID
Constructor Detail

MessageQueue

public MessageQueue(StunMsg msg)