io.sarl.api.core
Event MemberJoined
All Superinterfaces:
java.io.Serializable
final event MemberJoined
extends Event
Notifies the other members that the member with the identifier agentID has effectively integrated the holon context. The event is fired within the default space of the context in which the new agent entered. The joining agent does not receive this event. The source of the event is the parent agent. The context id can be retrieved via ev.source.spaceID.contextID.
Maven Group Identifier:
io.sarl.sdk
Maven Artifact Identifier:
api.core
Property Summary
Inherited: source
Field Summary
Modifier and type Field and description
val java.util.UUID agentID
The identifier of the agent that has joined the context.
val java.lang.String agentType
The fully qualified name of the type of the agent.
Constructor Summary
Constructor and description
new(Address,UUID,String)
Construct the event.
Action Summary
Field Details
agentID
val agentID : java.util.UUID
The identifier of the agent that has joined the context.
agentType
val agentType : java.lang.String
The fully qualified name of the type of the agent.
Constructor Details
new(Address,UUID,String)
new(Address,UUID,String)
Construct the event.
Parameters:
source - the address of the emitter.
agentID - the identifier of the agent.
agentType - fully qualified name of the type of the agent.