This type is part of the private API. Use with caution.
io.sarl.sre.janus.spaces
Interface SpaceWithParticipants
All Superinterfaces:
Space
All Known Implementing Classes:
AbstractEventSpace, OpenLocalEventSpace
@org.eclipse.xtext.xbase.lib.XbaseGenerated
interface SpaceWithParticipants
implements Space
Space with participants that exhibits the participants' list.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.10
Property Summary
Action Summary
Modifier and type Action and description
abstract void forEachStrongParticipant(Procedure2<P1,P2>)
Apply the given procedure to each of the strong participants.
abstract void forEachWeakParticipant(Procedure2<P1,P2>)
Apply the given procedure to each of the weak participants.
abstract EventListener getListenerFromStrongParticipant(UUID)
Replies the event listener with the given identifier into the registered strong participants.
Action Details
forEachStrongParticipant(Procedure2<P1,P2>)
def forEachStrongParticipant(Procedure2<P1,P2>)
Apply the given procedure to each of the strong participants. This function ignores the weak participants.
Parameters:
callback - the lambda to invoke.
Since:
0.11
forEachWeakParticipant(Procedure2<P1,P2>)
def forEachWeakParticipant(Procedure2<P1,P2>)
Apply the given procedure to each of the weak participants. This function ignores the strong participants.
Parameters:
callback - the lambda to invoke.
Since:
0.11
getListenerFromStrongParticipant(UUID)
def getListenerFromStrongParticipant(UUID) : EventListener
Replies the event listener with the given identifier into the registered strong participants.
Parameters:
target - the identifier of the event listener to search for.
Returns:
the event listener or null if there is no event listener found.
Since:
0.11