| Modifier and type | Property and description |
|---|---|
| ConcurrentCollection<T> | allContexts
Replies all contexts this agent is a member of, including the default context. |
| AgentContext | universeContext
Replies the AgentContext that is the root of all the contexts. |
| Modifier and type | Action and description |
|---|---|
| abstract void | emit(EventSpace,Event,[Scope<T>])
Emits a given event with the provided scope in the given space. |
| abstract ConcurrentCollection<T> | getAllContexts
Replies all contexts this agent is a member of, including the default context. |
| abstract AgentContext | getContext(UUID)
Replies the AgentContext for the given ID. |
| abstract AgentContext | getUniverseContext
Replies the AgentContext that is the root of all the contexts. |
| abstract boolean | isInSpace(Event,Space)
Replies if the given event was emitted in the given space. |
| abstract boolean | isInSpace(Event,SpaceID)
Replies if the given event was emitted in the space with the given identifier.. |
| abstract boolean | isInSpace(Event,UUID)
Replies if the given event was emitted in the space with the given identifier.. |
| abstract AgentContext | join(UUID,UUID)
Joins a new parent context (a new super holon). |
| abstract boolean | leave(UUID)
Leaves the parent's context. |
val allContexts : ConcurrentCollection<T>
This property is an alias for the action: getAllContexts
val universeContext : AgentContext
This property is an alias for the action: getUniverseContext
def emit(EventSpace,Event,[Scope<T>])
space.emit(getID,event,scope)
def getAllContexts : ConcurrentCollection<T>
def getContext(UUID) : AgentContext
def getUniverseContext : AgentContext
def isInSpace(Event,Space) : boolean
def isInSpace(Event,SpaceID) : boolean
def isInSpace(Event,UUID) : boolean
def join(UUID,UUID) : AgentContextfires ContextJoined, MemberJoined
false if one of the following conditions evaluates to true:
def leave(UUID) : booleanfires ContextLeft, MemberLeft
false) when the context to be leaved is the current default context of the agent, and there is no other context or more than 1 other context that could be elected as the new default context.
This function replies false if one of the following conditions evaluates to true: