public interface OpenEventSpace extends EventSpace
A participant is a software entity that is registered in order to receive the events that are emitted into the space. A participant is usually an agent, but not restricted to this type of software entity. It could be also a user-interface module.
A weak participant is participant that could be considered as not a first-order member of the space.
When a participant is weak, it is not considered by functions such as
|Modifier and Type||Method and Description|
Registers the participant inside this space.
Unregisters the entity inside this space.
defregister(participant : EventListener, weakParticipant : boolean = false) : Address
If the agent is already registered the address is return, but the listener is not replaced.
participant- the participant to register.
weakParticipant- indicates to the space that the given participant could be considered as a weak participant. A Weak participant will not prevent the space from begin destroyed if it is the only one staying in it, a Strong participant will prevent the space destruction. A space containing only Weak participants will be destroyed by the SRE Kernel. The default value is .
defunregister(participant : EventListener) : Address
participant- the participant to unregister.
Copyright © 2020 the original authors or authors.