As i am using getConnections() that will Returns a collection of agents(i.e,list not single agent) connected to any agent. I want to connect the agents (those which are present in the collection returned by getConnections()) to another agent. Problem is connectTo() function is only used for connecting to particuar agent, not list of agent.
Instead of connectTo(), which function can be used or any other way?