| Modifier and type | Property and description |
|---|---|
| Address | defaultAddress
Return the Address of the agent in the Default Space of the Default Context. |
| AgentContext | defaultContext
Returns the Default context fo the agent. |
| java.util.UUID | defaultParentID
Replies the identifier of the default parent. |
| Scope<T> | defaultParentScope
Replies the event scope that corresponds to the default parent. |
| EventSpace | defaultSpace
Returns the Default Space of the Default Context. |
| Modifier and type | Action and description |
|---|---|
| abstract void | emit(Event,[Scope<T>])
Emits a given event with the provided scope in the DefaultSpace of the DefaultContext. |
| abstract void | emitToParent(Event)
Emits or forward the given event to the parent agent into the default context of the calling agent. |
| abstract Address | getDefaultAddress
Return the Address of the agent in the Default Space of the Default Context. |
| abstract AgentContext | getDefaultContext
Returns the Default context fo the agent. |
| abstract java.util.UUID | getDefaultParentID
Replies the identifier of the default parent. |
| abstract Scope<T> | getDefaultParentScope
Replies the event scope that corresponds to the default parent. |
| abstract EventSpace | getDefaultSpace
Returns the Default Space of the Default Context. |
| abstract boolean | isDefaultContext(AgentContext)
Replies if the given context is the default context. |
| abstract boolean | isDefaultContext(UUID)
Replies if the given identifier is the identifier of the default context. |
| abstract boolean | isDefaultSpace(Space)
Replies if the given space is the default space of the default context. |
| abstract boolean | isDefaultSpace(SpaceID)
Replies if the given identifier is the identifier of the default space of the default context. |
| abstract boolean | isDefaultSpace(UUID)
Replies if the given identifier is the identifier of the default space of the default context. |
| abstract boolean | isInDefaultSpace(Event)
Replies if the given event was emitted in the default space of the default context. |
| abstract java.util.UUID | spawn(Class<T>,Object*)
Spawns a new Agent inside the default context of this agent.
Deprecated for removal since 0.10: See the Lifecycle capacity.
|
| abstract void | willReceive(UUID,Event)
Inverse signature of send.
Deprecated for removal since 0.11: since 0.11, see emit(Event,Scope)
|
val defaultAddress : Address
defaultContext.defaultSpace.getAddress(this.ID)
This property is an alias for the action: getDefaultAddress
val defaultContext : AgentContext
This property is an alias for the action: getDefaultContext
val defaultParentID : java.util.UUID
This property is an alias for the action: getDefaultParentID
val defaultParentScope : Scope<T>
This property is an alias for the action: getDefaultParentScope
val defaultSpace : EventSpace
defaultContext.defaultSpace.
This property is an alias for the action: getDefaultSpace
def emit(Event,[Scope<T>])
defaultContext.defaultSpace.emit(e,scope)
def emitToParent(Event)
def getDefaultAddress : Address
defaultContext.defaultSpace.getAddress(this.ID)
def getDefaultContext : AgentContext
def getDefaultParentID : java.util.UUID
def getDefaultParentScope : Scope<T>
def getDefaultSpace : EventSpace
defaultContext.defaultSpace.
def isDefaultContext(AgentContext) : boolean
def isDefaultContext(UUID) : boolean
def isDefaultSpace(Space) : boolean
def isDefaultSpace(SpaceID) : boolean
def isDefaultSpace(UUID) : boolean
def isInDefaultSpace(Event) : boolean
def spawn(Class<T>,Object*) : java.util.UUIDfires AgentSpawned, AgentSpawnFailure
def willReceive(UUID,Event)