fipaos.agent.task.event
Class ChildTimeoutEvent

java.lang.Object
  |
  +--fipaos.agent.task.event.TaskEvent
        |
        +--fipaos.agent.task.event.ChildTimeoutEvent

public class ChildTimeoutEvent
extends TaskEvent

Represents an unhandled event indicating that a child-Task has timed-out


Constructor Summary
ChildTimeoutEvent(Task child)
          Create event
 
Method Summary
 Task getChildTask()
          Get the child-Task that has timed-out
 void removeReferences()
          Removes all references to other objects to aid garbage collection
 
Methods inherited from class fipaos.agent.task.event.TaskEvent
getTimeSinceTimestamp, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildTimeoutEvent

public ChildTimeoutEvent(Task child)
Create event
Parameters:
child - Child-Task that has failed
reason - Exception associated with failure
Method Detail

getChildTask

public Task getChildTask()
Get the child-Task that has timed-out
Returns:
Child task that has timed-out

removeReferences

public void removeReferences()
Removes all references to other objects to aid garbage collection
Overrides:
removeReferences in class TaskEvent