public interface InnerContextAccess extends Capacity
Modifier and Type | Method and Description |
---|---|
AgentContext |
getInnerContext()
Replies the inner context.
|
EventSpace |
getInnerDefaultSpace()
Replies the inner context.
|
int |
getMemberAgentCount()
Replies the number of agents that are members
of the inner context of the calling agent.
|
ConcurrentSet<UUID> |
getMemberAgents()
Replies all the member agents in the inner context.
|
boolean |
hasMemberAgent()
Replies if the calling agent has other agents
as members of its inner context.
|
boolean |
isInInnerDefaultSpace(event : Event)
Replies if the given event was emitted in the default space
of the inner context.
|
boolean |
isInnerDefaultSpace(space : Space)
Replies if the given space is the default space of the inner context.
|
boolean |
isInnerDefaultSpace(spaceID : SpaceID)
Replies if the given identifier is the identifier of the
default space of the inner context.
|
boolean |
isInnerDefaultSpace(spaceID : UUID)
Replies if the given identifier is the identifier of the
default space of the inner context.
|
@Pure
def
getInnerContext() : AgentContext
InnerContextAccess
@Pure
def
getInnerDefaultSpace() : EventSpace
InnerContextAccess
@Pure
def
hasMemberAgent() : boolean
InnerContextAccess
true
if the current agent has other agents as member of its internal context; otherwise false
@Pure
def
getMemberAgentCount() : int
InnerContextAccess
The replied number includes the current agent. Indeed, the current agent is member of its internal context with the role of super-holon.
@Pure
def
getMemberAgents() : ConcurrentSet<UUID>
InnerContextAccess
@Pure
def
isInnerDefaultSpace(space : Space) : boolean
InnerContextAccess
space
- the space to test.true
if the given space is the default space of
the inner context. Otherwise false
.@Pure
def
isInnerDefaultSpace(spaceID : SpaceID) : boolean
InnerContextAccess
spaceID
- the identifier to test.true
if the given identifier is the identifier
of the default space of the inner context. Otherwise false
.@Pure
def
isInnerDefaultSpace(spaceID : UUID) : boolean
InnerContextAccess
spaceID
- the identifier to test.true
if the given identifier is the identifier
of the default space of the inner context. Otherwise false
.@Pure
def
isInInnerDefaultSpace(event : Event) : boolean
InnerContextAccess
event
- the event to test.true
if the given event was emitted
in the default space of the inner context. Otherwise false
.Copyright © 2021 the original authors or authors.