io.sarl.sre.janus.spaces
Interface SpaceParticipantListener
All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SpaceParticipantEventEmitter
interface SpaceParticipantListener
implements java.util.EventListener
A listener for the Java events on spaces.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.10
Action Summary
Modifier and type Action and description
abstract void participantJoined(Participant)
Invoked when a participant has joined a space.
abstract void participantLeft(Participant)
Invoked when a participant has left a space.
abstract void setDefaultSpace(EventSpace)
Set the default only useful for the first space to be created
Action Details
participantJoined(Participant)
def participantJoined(Participant)
Invoked when a participant has joined a space.
Parameters:
participant - the participant.
participantLeft(Participant)
def participantLeft(Participant)
Invoked when a participant has left a space.
Parameters:
participant - the participant.
setDefaultSpace(EventSpace)
def setDefaultSpace(EventSpace)
Set the default only useful for the first space to be created
Parameters:
space - - the default space of the default context