public interface SpaceWithParticipants extends Space
Modifier and Type | Method and Description |
---|---|
void |
forEachStrongParticipant(callback : (UUID,Participant)=>void)
Apply the given procedure to each of the strong participants.
|
void |
forEachWeakParticipant(callback : (UUID,Participant)=>void)
Apply the given procedure to each of the weak participants.
|
EventListener |
getListenerFromStrongParticipant(target : UUID)
Replies the event listener with the given identifier into the registered strong participants.
|
forEachStrongParticipant, forEachWeakParticipant, getNumberOfStrongParticipants, getNumberOfWeakParticipants, getSpaceID, isPseudoEmpty, isPseudoEmpty
def
forEachStrongParticipant(callback : (UUID,Participant)=>void) : void
SpaceWithParticipants
callback
- the lambda to invoke.def
forEachWeakParticipant(callback : (UUID,Participant)=>void) : void
SpaceWithParticipants
callback
- the lambda to invoke.@Pure
def
getListenerFromStrongParticipant(target : UUID) : EventListener
SpaceWithParticipants
target
- the identifier of the event listener to search for.null
if there is no event listener found.Copyright © 2021 the original authors or authors.