fipaos.agent.task.event
Class TaskEvent

Direct Known Subclasses:
ChildDoneEvent, ChildFailureEvent, ChildTimeoutEvent, ConversationUpdateEvent, InitialisedEvent, MessageDeliveryFailureEvent, MessageForEndedConversationEvent

public abstract class TaskEvent

This class represents an unprocessed event for a particular Task


Method Summary
 longgetTimeSinceTimestamp()
          Returns the amount of time in milliseconds since this event was created
 longgetTimestamp()
          Returns the time that this was created
 voidremoveReferences()
          Removes all references to other objects to aid garbage collection

Method Detail

getTimeSinceTimestamp

public long getTimeSinceTimestamp()
Returns the amount of time in milliseconds since this event was created
Returns: The time since this was created

getTimestamp

public long getTimestamp()
Returns the time that this was created
Returns: Time in milliseconds passed 1 Jan 1970

removeReferences

public void removeReferences()
Removes all references to other objects to aid garbage collection