org.jnetpcap.util
Class TimeoutQueue

java.lang.Object
  extended by org.jnetpcap.util.TimeoutQueue

public class TimeoutQueue
extends java.lang.Object

The Class TimeoutQueue.

Author:
Mark Bednarczyk, Sly Technologies, Inc.

Constructor Summary
TimeoutQueue()
           
 
Method Summary
 boolean add(Timeout o)
          Adds the.
 boolean isEmpty()
          Checks if is empty.
 boolean remove(Timeout o)
          Removes the.
 void timeout(long timeInMillis)
          Timeout.
 boolean timeout(Timeout entry)
          Timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeoutQueue

public TimeoutQueue()
Method Detail

timeout

public void timeout(long timeInMillis)
Timeout.

Parameters:
timeInMillis - the time in millis

timeout

public boolean timeout(Timeout entry)
Timeout.

Parameters:
entry - the entry
Returns:
true, if successful

isEmpty

public boolean isEmpty()
Checks if is empty.

Returns:
true, if is empty

add

public boolean add(Timeout o)
Adds the.

Parameters:
o - the o
Returns:
true, if successful

remove

public boolean remove(Timeout o)
Removes the.

Parameters:
o - the o
Returns:
true, if successful