// the regular message of the monitoring publisher of the RS.
// Extract and store replicas ServerStates
replicaStates = new HashMap<Integer, ServerState>();
MonitorMsg monitorMsg = (MonitorMsg) msg;
Iterator<Integer> it = monitorMsg.ldapIterator();
while (it.hasNext())
{
int srvId = it.next();
replicaStates.put(srvId, monitorMsg.getLDAPServerState(srvId));
}