drcl.comp
Class TaskReceive
java.lang.Object
|
+--drcl.DrclObj
|
+--drcl.comp.ACATimer
|
+--drcl.comp.Task
|
+--drcl.comp.TaskReceive
- All Implemented Interfaces:
- java.lang.Cloneable, ObjectDuplicable, java.io.Serializable
- public class TaskReceive
- extends Task
Defines the "receive" task.
- See Also:
- Serialized Form
|
Constructor Summary |
TaskReceive(Port port_,
java.lang.Object data_)
Creates a task to be executed immediately. |
TaskReceive(Port port_,
java.lang.Object data_,
double time_)
Creates a prioritized task to be conducted at the specified time. |
TaskReceive(Port port_,
java.lang.Object data_,
Port returnPort_)
Creates a prioritized task to be conducted immediately, with a return port. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TaskReceive
public TaskReceive(Port port_,
java.lang.Object data_)
- Creates a task to be executed immediately.
TaskReceive
public TaskReceive(Port port_,
java.lang.Object data_,
Port returnPort_)
- Creates a prioritized task to be conducted immediately, with a return port.
TaskReceive
public TaskReceive(Port port_,
java.lang.Object data_,
double time_)
- Creates a prioritized task to be conducted at the specified time.
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_.
- Overrides:
execute in class Task
Copyright © 2001 - DRCL, OSU ~ Back to JavaSim Home ~