public class LoggingObserver extends Object implements ParticipantObserver
Constructor and Description |
---|
LoggingObserver() |
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. |
public void created(Participant participant, ParticipantCreateArgs<?> args)
ParticipantObserver
Participant
has just been created.created
in interface ParticipantObserver
participant
- the newly created participantargs
- the arguments used for creating this participantpublic void destroyed(Participant participant)
ParticipantObserver
Participant
is about to be destroyed.destroyed
in interface ParticipantObserver
participant
- the participant that will be destroyedCopyright © 2018 CoR-Lab. All rights reserved.