io.sarl.sre.janus.services.context
Interface InternalContextMembershipListener
All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SubHolonContextEventEmitter
interface InternalContextMembershipListener
implements java.util.EventListener
Listener on events related to the membership within a context.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Action Summary
Modifier and type Action and description
abstract void contextJoined(UUID,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.
abstract void contextLeft(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.
Action Details
contextJoined(UUID,UUID)
def contextJoined(UUID,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.
Parameters:
futureContext - ID of the newly joined context
futureContextDefaultSpaceID - ID of the default space of the newly joined context
contextLeft(UUID)
def contextLeft(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.
Parameters:
contextID - the ID of context that will be left