API DOCS
Class: xajax.tools.queue
This contains the code and variables for building, populating
and processing First In Last Out (FILO) buffers.
variables
functions
create
Construct and return a new queue object.
xajax.tools.queue.retry
xajax.tools.queue.retry = function(obj, count) { }
Maintains a retry counter for the given object.
xajax.tools.queue.rewind
xajax.tools.queue.rewind = function(theQ) { }
Rewind the buffer head pointer, effectively reinserting the
last retrieved object into the buffer.
xajax.tools.queue.setWakeup
xajax.tools.queue.setWakeup = function(theQ, when) { }
Set or reset a timeout that is used to restart processing
of the queue. This allows the queue to asynchronously wait
for an event to occur (giving the browser time to process
pending events, like loading files)
xajax.tools.queue.process
xajax.tools.queue.process = function(theQ) { }
While entries exist in the queue, pull and entry out and
process it's command. When a command returns false, the
processing is halted.
xajax.tools.queue.push
xajax.tools.queue.push = function(theQ, obj) { }
Push a new object into the tail of the buffer maintained by the
specified queue object.
xajax.tools.queue.pushFront
xajax.tools.queue.pushFront = function(theQ, obj) { }
Push a new object into the head of the buffer maintained by
the specified queue object. This effectively pushes an object
to the front of the queue... it will be processed first.
xajax.tools.queue.pop
xajax.tools.queue.pop = function(theQ) { }
Attempt to pop an object off the head of the queue.
