public interface Agent extends Component
Modifier and Type | Method and Description |
---|---|
EntityID |
getID()
Get the ID of the entity this agent controls.
|
java.lang.String[] |
getRequestedEntityURNs()
Get the list of entity URNs that this agent is willing to control.
|
void |
postConnect(Connection c,
EntityID agentID,
java.util.Collection<Entity> entities,
Config config)
Notification that this agent has been connected to the kernel.
|
connect, getName, getPreferredLogContext, getPreferredRegistry, initialise, shutdown
java.lang.String[] getRequestedEntityURNs()
void postConnect(Connection c, EntityID agentID, java.util.Collection<Entity> entities, Config config)
c
- The connection to the kernel.agentID
- The ID of the entity controlled by this agent.entities
- The set of Entities the kernel sent to this agent on connection.config
- The Config the kernel send to this agent on connection.EntityID getID()