DRCL J-Sim API

drcl.comp
Class ACATimer

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

public class ACATimer
extends DrclObj

Defines a runtime task performed by a WorkerThread. A specific type of task is further defined in a subclass.

See Also:
Serialized Form

Field Summary
 java.lang.Object data
          The timeout event object.
 
Constructor Summary
ACATimer()
           
 
Method Summary
 void duplicate(java.lang.Object source_)
          opies the content of the source_ object to this object.
 double getTime()
          Returns the time when the timer expires.
 
Methods inherited from class drcl.DrclObj
clone, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

data

public java.lang.Object data
The timeout event object.

Constructor Detail

ACATimer

public ACATimer()
Method Detail

getTime

public double getTime()
Returns the time when the timer expires.


duplicate

public void duplicate(java.lang.Object source_)
Description copied from class: DrclObj
opies the content of the source_ object to this object. he subclass must implement this method to realize DrclObj.clone().

Specified by:
duplicate in interface ObjectDuplicable
Overrides:
duplicate in class DrclObj

DRCL J-Sim API

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