}
private void changeAgentState(AID agentID, int newState) throws IMTPException, NotFoundException {
BackEndContainer.AgentImage a = myContainer.getAgentImage(agentID);
if(a == null)
throw new NotFoundException("Change-Agent-State failed to find " + agentID);
if(newState == Agent.AP_SUSPENDED) {
myContainer.suspendAgentOnFE(agentID.getLocalName());
}
else if(newState == Agent.AP_ACTIVE) {