org.omegahat.Interfaces.CORBA.TaskManagement
Class DistributedTaskQueue

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--java.util.Vector
                    |
                    +--org.omegahat.Environment.TaskManagement.TaskQueue
                          |
                          +--org.omegahat.Interfaces.CORBA.TaskManagement.DistributedTaskQueue
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable
Direct Known Subclasses:
HomogeneousServerDistributedTaskQueue, LoopTaskQueue, RepeatedTaskQueue

public class DistributedTaskQueue
extends TaskQueue

See Also:
Serialized Form

Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
DistributedTaskQueue()
          Default constructor that takes the initial capacity from the default Vector constructor.
DistributedTaskQueue(int size)
          Construct an empty queue with initial capacity specified by the given size.
DistributedTaskQueue(Task t)
          Create and populate with a single task.
DistributedTaskQueue(Task[] arr)
          Create and populate with Task objects specified in the array.
DistributedTaskQueue(java.util.Vector arr)
          Create and populate with Tasks gather in the specified Vector.
 
Method Summary
 int addTask(java.lang.String methodName, java.lang.Object[] args)
           
 int addTask(java.lang.String methodName, java.lang.Object[] args, java.lang.String idlType)
           
 CORBATaskInterface copy(CORBATaskInterface task)
           
 
Methods inherited from class org.omegahat.Environment.TaskManagement.TaskQueue
addTask, addTask, getTask, getTask, tasks, tasks, tasks
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

DistributedTaskQueue

public DistributedTaskQueue()
Default constructor that takes the initial capacity from the default Vector constructor.

DistributedTaskQueue

public DistributedTaskQueue(int size)
Construct an empty queue with initial capacity specified by the given size.

DistributedTaskQueue

public DistributedTaskQueue(Task[] arr)
Create and populate with Task objects specified in the array.

DistributedTaskQueue

public DistributedTaskQueue(java.util.Vector arr)
Create and populate with Tasks gather in the specified Vector.

DistributedTaskQueue

public DistributedTaskQueue(Task t)
Create and populate with a single task.
Method Detail

addTask

public int addTask(java.lang.String methodName,
                   java.lang.Object[] args)

addTask

public int addTask(java.lang.String methodName,
                   java.lang.Object[] args,
                   java.lang.String idlType)

copy

public CORBATaskInterface copy(CORBATaskInterface task)