public class SpaceEventEmitter extends Object implements SpaceRepositoryListener
Constructor and Description |
---|
SpaceEventEmitter(contextID : UUID,
defaultSpace : EventSpace,
logger : Logger) |
Modifier and Type | Method and Description |
---|---|
void |
spaceCreated(space : Space,
isLocalCreation : boolean)
Invoked when the space is added.
|
void |
spaceDestroyed(space : Space,
isLocalDestruction : boolean)
Invoked when the space is destroyed.
|
public new
(contextID : UUID,
defaultSpace : EventSpace,
logger : Logger)
public def
spaceCreated(space : Space,
isLocalCreation : boolean) : void
SpaceRepositoryListener
spaceCreated
in interface SpaceRepositoryListener
space
- reference to the created space.isLocalCreation
- indicates if the creation of the space was initiated on the current kernel.public def
spaceDestroyed(space : Space,
isLocalDestruction : boolean) : void
SpaceRepositoryListener
spaceDestroyed
in interface SpaceRepositoryListener
space
- reference to the destroyed space.isLocalDestruction
- indicates if the destruction of the space was initiated on the current kernel.Copyright © 2021 the original authors or authors.