public interface InformedEventListener extends EventListener
Space
.
Space
s in SARL are event driven. Most of the time,
EventListener
s in a Space
will be Agent
s. 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.
Modifier and Type | Method and Description |
---|---|
Agent |
getOwnerInstance()
Replies the owner of this listener.
|
receiveEvent
getID
def
getOwnerInstance() : Agent
InformedEventListener
This function is part of the private API and should not be invoked outside the implementation of the SRE.
Copyright © 2020 the original authors or authors.