io.sarl.lang.core
Event DeadEvent
All Superinterfaces:
java.io.Serializable
Deprecated for removal since 0.5:
no more used since 0.5.
@java.lang.Deprecated(forRemoval=true,
since="0.5")

final event DeadEvent
extends Event
Wraps an event that was posted, but which had no subscribers and thus could not be delivered.

Registering a DeadEvent BehaviorGuardEvaluator is useful for debugging or logging, as it can detect misconfigurations in a system's event distribution. Directly copy from com.google.common.eventbus.DeadEvent
Deprecated:
no more used since 0.5.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Property Summary
Modifier and type Property and description
java.lang.Object event
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered BehaviorGuardEvaluator.
Deprecated for removal since 0.5: no more used since 0.5.
Inherited: source
Constructor Summary
Constructor and description
new(Event)
Creates a new DeadEvent.
Deprecated for removal since 0.5: no more used since 0.5.
Action Summary
Modifier and type Action and description
java.lang.Object getEvent
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered BehaviorGuardEvaluator.
Deprecated for removal since 0.5: no more used since 0.5.
Property Details
event
val event : java.lang.Object
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered BehaviorGuardEvaluator.

This property is an alias for the action: getEvent

Returns:
the 'dead' event that could not be delivered.
Constructor Details
new(Event)
new(Event)
Creates a new DeadEvent.
Parameters:
event - the event that could not be delivered.
Action Details
getEvent
def getEvent : java.lang.Object
Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered BehaviorGuardEvaluator.
Returns:
the 'dead' event that could not be delivered.