/** * Adds the profil upnpdiscbasic1. * * @param data the data * @throws Fault the fault */ public void addProfilUPnPDiscBasic1(IParameterData data) throws Fault { String root = data.getRoot(); discovery = new DiscoveryImp(data, root + "Services.UPnP.Discovery."); discovery.initialize(); profiles.add("UPnPDiscBasic:1"); }
/** * Removes the upnp device. * * @param upnpDevice the upnp device */ public void removeUPnPDevice(UPnPDevice upnpDevice) { discovery.removeUPnPDevice(upnpDevice); }
/** * Adds the upnp device. * * @param upnpDevice the upnp device */ @Reference(dynamic = true, multiple = true, optional = true) public void addUPnPDevice(UPnPDevice upnpDevice) { discovery.addUPnPDevice(upnpDevice); }