DRCL J-Sim API

drcl.comp
Class TaskFork

java.lang.Object
  extended bydrcl.DrclObj
      extended bydrcl.comp.ACATimer
          extended bydrcl.comp.Task
              extended bydrcl.comp.TaskFork
All Implemented Interfaces:
java.lang.Cloneable, ObjectCloneable, ObjectDuplicable, java.io.Serializable

public class TaskFork
extends Task

Defines the "fork" task.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class drcl.comp.Task
port, returnPort, TYPE_RESUME, TYPE_RUNNABLE, TYPE_START, TYPE_STOP, TYPE_UNKNOWN
 
Fields inherited from class drcl.comp.ACATimer
data
 
Constructor Summary
TaskFork(ForkManager fm_, double time_)
          Creates a task to be executed immediately.
 
Method Summary
 void execute(WorkerThread thread_)
          Executes the task in thread_.
 java.lang.String toString()
           
 
Methods inherited from class drcl.comp.Task
createNotify, createNotify, createResume, createRunnable, createStart, createStop
 
Methods inherited from class drcl.comp.ACATimer
duplicate, getTime
 
Methods inherited from class drcl.DrclObj
clone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TaskFork

public TaskFork(ForkManager fm_,
                double time_)
Creates a task to be executed immediately.

Method Detail

toString

public final java.lang.String toString()
Overrides:
toString in class DrclObj

execute

public void execute(WorkerThread thread_)
Description copied from class: Task
Executes the task in thread_.

Specified by:
execute in class Task

DRCL J-Sim API

Copyright © 1998-2003 Distributed Real-time Computing Lab (DRCL). All Rights Reserved.     ~ To J-Sim Home ~