예제 #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");
  }
예제 #2
0
 /**
  * Removes the upnp device.
  *
  * @param upnpDevice the upnp device
  */
 public void removeUPnPDevice(UPnPDevice upnpDevice) {
   discovery.removeUPnPDevice(upnpDevice);
 }
예제 #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);
 }