org.rapla.components.util
Class CommandQueue

java.lang.Object
  extended by org.rapla.components.util.CommandQueue

public class CommandQueue
extends Object

Creates a new thread that successively executes the queued command objects

See Also:
Command

Constructor Summary
CommandQueue()
           
 
Method Summary
static CommandQueue createCommandQueue()
          Creates a new Queue for Command Object.
 Command dequeue()
           
 void dequeueAll()
           
 void enqueue(Command object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandQueue

public CommandQueue()
Method Detail

enqueue

public void enqueue(Command object)

dequeue

public Command dequeue()

dequeueAll

public void dequeueAll()

createCommandQueue

public static CommandQueue createCommandQueue()
Creates a new Queue for Command Object. The commands will be executed in succession in a seperate Daemonthread.

See Also:
Command


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.