public interface ParticipantObserver
Participant
creation and destruction.
Since methods of this interface are called during state switching of
Participant
instances, the Activatable.isActive()
method
might still return an old state during calls to methods in this interface.Modifier and Type | Method and Description |
---|---|
void |
created(Participant participant,
ParticipantCreateArgs<?> args)
Will be called in case a new
Participant has just been created. |
void |
destroyed(Participant participant)
Will be called in case a
Participant is about to be destroyed. |
void created(Participant participant, ParticipantCreateArgs<?> args)
Participant
has just been created.participant
- the newly created participantargs
- the arguments used for creating this participantvoid destroyed(Participant participant)
Participant
is about to be destroyed.participant
- the participant that will be destroyedCopyright © 2018 CoR-Lab. All rights reserved.