Exemplo n.º 1
0
  protected int processDevice(UPnPDevice device) throws UPnPException {

    int interesting = processServices(device, device.getServices());

    UPnPDevice[] kids = device.getSubDevices();

    for (int i = 0; i < kids.length; i++) {

      interesting += processDevice(kids[i]);
    }

    return (interesting);
  }