public class SubHolonContextEventEmitter extends Object implements InternalContextMembershipListener
Constructor and Description |
---|
SubHolonContextEventEmitter(owner : Agent,
factories : javax.inject.Provider<Factories>,
agentLevelInjector : javax.inject.Provider<ConfigurableAgentInjector>)
Constructors.
|
Modifier and Type | Method and Description |
---|---|
void |
contextJoined(futureContext : UUID,
futureContextDefaultSpaceID : UUID)
Fires an
ContextJoined event into the Inner Context default space of the owner agent to notify behaviors/members
that a new context has been joined. |
void |
contextLeft(contextID : UUID)
Fires an
ContextLeft event into the Inner Context Default space of the owner agent to notify behaviors/members that
the specified context has been left. |
public new
(owner : Agent,
factories : javax.inject.Provider<Factories>,
agentLevelInjector : javax.inject.Provider<ConfigurableAgentInjector>)
owner
- the owner of this emitter.factories
- provider of factories tool.agentLevelInjector
- the dynamic injector at the agent level.public def
contextJoined(futureContext : UUID,
futureContextDefaultSpaceID : UUID) : void
InternalContextMembershipListener
ContextJoined
event into the Inner Context default space of the owner agent to notify behaviors/members
that a new context has been joined.contextJoined
in interface InternalContextMembershipListener
futureContext
- ID of the newly joined contextfutureContextDefaultSpaceID
- ID of the default space of the newly joined contextpublic def
contextLeft(contextID : UUID) : void
InternalContextMembershipListener
ContextLeft
event into the Inner Context Default space of the owner agent to notify behaviors/members that
the specified context has been left.contextLeft
in interface InternalContextMembershipListener
contextID
- the ID of context that will be leftCopyright © 2021 the original authors or authors.