JavaScript is disabled on your browser.
Siena (v.2.0.4) API documentation
All Implemented Interfaces:
PacketQueue
Direct Known Subclasses:
FastArrayQueue , SlowArrayQueue
public class ArrayQueue
extends java.lang.Object
implements PacketQueue
a simple implementation of a priority queue with only two priorities.
The queue is used to hold DV and UDV messages to be sent by
siena.DispatcherThread
Field Summary
Fields
Modifier and Type
Field and Description
static int
DEFAULT_SIZE
Method Summary
Methods
Modifier and Type
Method and Description
void
add (byte[] obj)
void
add (byte[] obj,
int length)
void
clear ()
int
next (byte[] buf)
int
next (byte[] buf,
long timeout)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
ArrayQueue
public ArrayQueue()
Siena (v.2.0.4) API documentation
Copyright © 2000-2005 University of Colorado. Copyright © 2005-2011 Antonio Carzaniga. This documentation is maintained by Antonio Carzaniga