io.sarl.lang.core
Interface EventListener
All Superinterfaces:
Identifiable
All Known Implementing Classes:
FxViewerController
interface EventListener
implements Identifiable
Entity capable listening to events inside an Interaction Space.

Spaces in SARL are event driven. Most of the time, EventListeners in a Space will be Agents. However, any entity implementing the EventListener can interact inside an EventSpace (e.g. UI)
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Property Summary
Inherited: iD
Action Summary
Modifier and type Action and description
abstract void receiveEvent(Event)
Request the entity to receive a given Event event.
Inherited: getID
Action Details
receiveEvent(Event)
def receiveEvent(Event)
Request the entity to receive a given Event event.
Parameters:
event - the event to be received