protected void checkState() { try { this_mon.enter(); for (int i = 0; i < mappings.size(); i++) { UPnPMapping mapping = (UPnPMapping) mappings.get(i); for (int j = 0; j < services.size(); j++) { UPnPPluginService service = (UPnPPluginService) services.get(j); service.checkMapping(log, mapping); } } } finally { this_mon.exit(); } }