public class SpaceParticipantEventEmitter extends Object implements SpaceParticipantListener
Constructor and Description |
---|
SpaceParticipantEventEmitter(defaultSpace : EventSpace,
logger : Logger) |
Modifier and Type | Method and Description |
---|---|
void |
participantJoined(participant : Participant)
Invoked when a participant has joined a space.
|
void |
participantLeft(participant : Participant)
Invoked when a participant has left a space.
|
void |
setDefaultSpace(space : EventSpace)
Set the default only useful for the first space to be created
|
public new
(defaultSpace : EventSpace,
logger : Logger)
public def
participantJoined(participant : Participant) : void
SpaceParticipantListener
participantJoined
in interface SpaceParticipantListener
participant
- the participant.public def
participantLeft(participant : Participant) : void
SpaceParticipantListener
participantLeft
in interface SpaceParticipantListener
participant
- the participant.public def
setDefaultSpace(space : EventSpace) : void
SpaceParticipantListener
setDefaultSpace
in interface SpaceParticipantListener
space
- - the default space of the default contextCopyright © 2021 the original authors or authors.