com.partnersoft.gadgets
Class AsynchronousCommandQueue

java.lang.Object
  extended by com.partnersoft.gadgets.AsynchronousCommandQueue

public class AsynchronousCommandQueue
extends java.lang.Object

A manager for asynchronous commands. Essentially, you issue commands as you desire, then you can wait for and analyze results.

Author:
Paul Reavis Copyright 2001 Partner Software, Inc.

Constructor Summary
AsynchronousCommandQueue()
           
 
Method Summary
 void clearCompleted()
           
 AsynchronousCommand currentCommand()
           
 void currentCommandComplete()
           
 void execute(AsynchronousCommand command)
           
 void executeAndWait(AsynchronousCommand command)
           
 java.util.LinkedList getFailedCommands()
           
 void sync()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousCommandQueue

public AsynchronousCommandQueue()
Method Detail

execute

public void execute(AsynchronousCommand command)

executeAndWait

public void executeAndWait(AsynchronousCommand command)

sync

public void sync()

clearCompleted

public void clearCompleted()

currentCommand

public AsynchronousCommand currentCommand()

currentCommandComplete

public void currentCommandComplete()

getFailedCommands

public java.util.LinkedList getFailedCommands()