Listener on events related to the members of an external context.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Action Summary
Modifier and type
Action and description
abstract void
memberJoined(AgentContext,SpaceID,UUID,String)
Fires an MemberJoined event into the newly joined parent Context default space to notify other context's members that a new agent joined this context.
abstract void
memberLeft(AgentContext,SpaceID,UUID,String)
Fires an MemberLeft event into the default space of the Context that will be left to notify other context's members that an agent has left this context.
Modifier and type
Action and description
abstract void
memberJoined(AgentContext,SpaceID,UUID,String)
Fires an MemberJoined event into the newly joined parent Context default space to notify other context's members that a new agent joined this context.
abstract void
memberLeft(AgentContext,SpaceID,UUID,String)
Fires an MemberLeft event into the default space of the Context that will be left to notify other context's members that an agent has left this context.
Fires an MemberJoined event into the newly joined parent Context default space to notify other context's members that a new agent joined this context.
Parameters:
joinedContext - the newly joined context to notify its members
defaultSpace - the identifier of the default space inside joinedContext.
joiningAgentID - the identifier of the new member.
joiningAgentType - the name of the agent type that has joined the context.
memberLeft(AgentContext,SpaceID,UUID,String)
def memberLeft(AgentContext,SpaceID,UUID,String)
Fires an MemberLeft event into the default space of the Context that will be left to notify other context's members that an agent has left this context.
Parameters:
leftContext - the context that will be left
defaultSpaceId - the identifier of the default space inside leftContext.
leftMemberID - the identifier of the agent that has left the context.
agentType - the name of the agent type that has left the context.