public interface ExternalContextMemberListener extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
memberJoined(joinedContext : AgentContext,
defaultSpace : SpaceID,
joiningAgentID : UUID,
joiningAgentType : 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. |
void |
memberLeft(leftContext : AgentContext,
defaultSpaceId : SpaceID,
leftMemberID : UUID,
agentType : 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. |
def
memberJoined(joinedContext : AgentContext,
defaultSpace : SpaceID,
joiningAgentID : UUID,
joiningAgentType : String) : void
ExternalContextMemberListener
MemberJoined
event into the newly joined parent Context default space to notify other context's members
that a new agent joined this context.joinedContext
- the newly joined context to notify its membersdefaultSpace
- 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.def
memberLeft(leftContext : AgentContext,
defaultSpaceId : SpaceID,
leftMemberID : UUID,
agentType : String) : void
ExternalContextMemberListener
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.leftContext
- the context that will be leftdefaultSpaceId
- the identifier of the default space inside leftContext
.leftAgentID
- the identifier of the agent that has left the context.leftAgentType
- the name of the agent type that has left the context.Copyright © 2021 the original authors or authors.