}
}
ClientCommandSenderConfiguration client_config = getSenderConfiguration(agent);
ClientCommandSender sender = getServiceContainer().createClientCommandSender(remote_uri, client_config);
agent_client = new AgentClientImpl(agent, sender);
// add the new cache entry, or replace the dirty cache entry (note that dirty cache entries don't
// need to be destroyed as the new one is "logically" the same, but with updated auth info.)
m_knownAgentClients.put(getEndpointKey(agent_address, agent_port), agent_client);
}