fipaos.agent.task.event
Class ChildDoneWithResultEvent

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

public class ChildDoneWithResultEvent
extends ChildDoneEvent

Reperesents the unhandled event when a child-Task completes with a result


Constructor Summary
ChildDoneWithResultEvent(Task child, java.lang.Object result)
          Creates the event, indicating that the given child-Task has completed and the result
 
Method Summary
 java.lang.Object getResult()
          Returns the result of the completion
 void removeReferences()
          Removes all references to other objects to aid garbage collection
 
Methods inherited from class fipaos.agent.task.event.ChildDoneEvent
getChildTask
 
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

ChildDoneWithResultEvent

public ChildDoneWithResultEvent(Task child,
                                java.lang.Object result)
Creates the event, indicating that the given child-Task has completed and the result
Parameters:
child - child-Task that has completed
result - Result of the completion
Method Detail

getResult

public java.lang.Object getResult()
Returns the result of the completion
Returns:
The result of the completion

removeReferences

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