Skip to content

Commit

Permalink
Propagating weak participant default value to interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ngaud committed Mar 18, 2020
1 parent 809956f commit 0afefb7
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -53,12 +53,13 @@ interface OpenEventSpace extends EventSpace {
*
* @param participant the participant to register.
* @param weakParticipant indicates to the space that the given participant could be considered as a weak participant.
* The meaning of the concept of weak participant is described into the OpenEventSpace documentation.
* 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
* @return the entity's address in this space
* @fires ParticipantJoined in its enclosing Context default space.
* @since 0.11
*/
def register(participant : EventListener, weakParticipant : boolean) : Address fires ParticipantJoined
def register(participant : EventListener, weakParticipant : boolean = true) : Address fires ParticipantJoined

/**
* Unregisters the entity inside this space.
Expand Down

0 comments on commit 0afefb7

Please sign in to comment.