Ejemplo n.º 1
0
  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();
    }
  }