io.sarl.api.core
Event Failure
All Superinterfaces:
java.io.Serializable
All Known Subclasses:
AgentKillFailure, AgentSpawnFailure, TaskFailure
event Failure
extends Event
Notifies an agent that a failure has occurred. The event is fired within the default space of the inner context of the failing agent. Subclasses of this event could be defined in order to specify more in detail the failure.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.core
Since:
0.12
Property Summary
Inherited: source
Field Summary
Modifier and type Field and description
val java.lang.Object cause
The identifier of the space the agent just left.
Constructor Summary
Constructor and description
new([Address],Object)
Construct the event.
Action Summary
Field Details
cause
val cause : java.lang.Object
The identifier of the space the agent just left.
Constructor Details
new([Address],Object)
new([Address],Object)
Construct the event.
Parameters:
source - the address of the emitter.
cause - the cause of the failure.