io.sarl.sre.janus.capacities
Interface InformedEventListener
All Superinterfaces:
EventListener, Identifiable
interface InformedEventListener
implements EventListener
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)

This specific listening entity knows its owner and provides access to it.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.10
Property Summary
Modifier and type Property and description
Agent ownerInstance
Replies the owner of this listener.
Inherited: iD
Action Summary
Modifier and type Action and description
abstract Agent getOwnerInstance
Replies the owner of this listener.
Property Details
ownerInstance
val ownerInstance : Agent
Replies the owner of this listener.

This function is part of the private API and should not be invoked outside the implementation of the SRE.

This property is an alias for the action: getOwnerInstance

Returns:
the agent instance.
Action Details
getOwnerInstance
def getOwnerInstance : Agent
Replies the owner of this listener.

This function is part of the private API and should not be invoked outside the implementation of the SRE.
Returns:
the agent instance.