tasks
Class MbrotComposer

java.lang.Object
  extended by api.Task
      extended by api.Successor
          extended by tasks.MbrotComposer
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Task>

public class MbrotComposer
extends Successor

See Also:
Serialized Form

Constructor Summary
MbrotComposer(TaskId taskId, TaskId successorId, int successorInputIndex, int inputCount)
           
 
Method Summary
 Result execute()
          Executes this task
 boolean executeOnServer()
          Method for checking whether this task should execute on the server
 
Methods inherited from class api.Successor
getInput, getInputSize, hasAllInput, setInput
 
Methods inherited from class api.Task
compareTo, getShared, getSuccessorId, getSuccessorInputIndex, getTaskId, sendEvent, setComputer, updateShared
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MbrotComposer

public MbrotComposer(TaskId taskId,
                     TaskId successorId,
                     int successorInputIndex,
                     int inputCount)
Method Detail

execute

public Result execute()
Description copied from class: Task
Executes this task

Specified by:
execute in class Task
Returns:
the container of objects generated by the execute method

executeOnServer

public boolean executeOnServer()
Description copied from class: Task
Method for checking whether this task should execute on the server

Specified by:
executeOnServer in class Task
Returns:
true if task should execute on server, false otherwise