log.debug("Found " + managerList.size() + " monitoring managers");
for (Iterator i = managerList.iterator(); i.hasNext(); )
{
// Read the monitoring manager's particulars
Manager m = (Manager)i.next();
try
{
// Create a record of the manager's interest
ManagerRecord mr = new ManagerRecord(
InetAddress.getByName(m.getAddress()),
m.getPort(),
toInetAddressWithDefaultBinding(m.getLocalAddress()),
m.getLocalPort(),
m.getVersion()
);
// Add the record to the list of monitoring managers. If
// successfull open the session to the manager as well.
if (this.managers.add(mr) == false)