Ejemplo n.º 1
0
  /**
   * 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");
  }
Ejemplo n.º 2
0
 /**
  * Removes the upnp device.
  *
  * @param upnpDevice the upnp device
  */
 public void removeUPnPDevice(UPnPDevice upnpDevice) {
   discovery.removeUPnPDevice(upnpDevice);
 }
Ejemplo n.º 3
0
 /**
  * Adds the upnp device.
  *
  * @param upnpDevice the upnp device
  */
 @Reference(dynamic = true, multiple = true, optional = true)
 public void addUPnPDevice(UPnPDevice upnpDevice) {
   discovery.addUPnPDevice(upnpDevice);
 }