io.sarl.sre.janus.spaces
Class AbstractSpace
All Superinterfaces:
Space
All Known Subclasses:
AbstractEventSpace
abstract class AbstractSpace
extends SRESpecificDataContainer
implements Space
Abstract implementation of a space.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Property Summary
Modifier and type Property and description
SpaceID spaceID
Constructor Summary
Constructor and description
new(SpaceID)
Constructs a space.
Action Summary
Modifier and type Action and description
protected void fireDestroyableSpace
Fire the event that indicates the space could be destroyed.
final SpaceID getSpaceID
java.lang.ref.WeakReference<T> setSpaceListenerIfNone(SpaceListener)
Change the listener on the space events.
java.lang.String toString
Property Details
spaceID
val spaceID : SpaceID

This property is an alias for the action: getSpaceID

Constructor Details
new(SpaceID)
new(SpaceID)
Constructs a space.
Parameters:
id - identifier of the space.
Action Details
fireDestroyableSpace
protected def fireDestroyableSpace
Fire the event that indicates the space could be destroyed.
getSpaceID
def getSpaceID : SpaceID
setSpaceListenerIfNone(SpaceListener)
def setSpaceListenerIfNone(SpaceListener) : java.lang.ref.WeakReference<T>
Change the listener on the space events.
toString
def toString : java.lang.String