public void ConnectAgent(AgentConnection agent)
 {
     agent.Connect();
 }