Informs an agent has been killed. The event is fires within all the external contexts (including the default context) of the killed agent. The killed agent does not receive this event. The source of the event is the killed agent. The context id can be retrieved via ev.source.spaceID.contextID.
The fully qualified name of the type of the killed agent.
terminationCause
val terminationCause : java.lang.Object
The object that is the cause of the killing of the agent or explains the cause of the "abnormal" killing. If it is null, the agent has committed a suicide in "normal" situation.
Since:
0.12
Constructor Details
new(Address,String,Object)
new(Address,String,Object)
Construct the event.
Parameters:
source - the address of the emitter.
agentType - fully qualified name of the type of the agent.
terminationCause - cause of the termination of the agent, or null if there is no specific termination cause.