break;
iter.remove();
    private void registerWithAllDAs() {        // send a registration for the given services to all DAs.        Vector DAs = owner.getDAList();        Iterator iter;        SLPDatabaseEntry e;        DAInfo da;        while(!toRegister.isEmpty()) {            synchronized(toRegister) {                e = (SLPDatabaseEntry)toRegister.remove(0);            }            for(iter = DAs.iterator(); iter.hasNext(); ) {                da = (DAInfo)iter.next();                // send registration...                int newLifetime = e.getRemainingLifetime();                ServiceURL url = new ServiceURL(e.getURL().toString(), newLifetime);                if(!owner.registerService(url, e.getAttributes(), da)) {                    break; // Failed to contact DA. No need to continue.                }            }        }                // in case we don't have any DAs:        synchronized(toRegister) {            toRegister.clear();        }    }