Package org.cybergarage.upnp

Examples of org.cybergarage.upnp.Device.stop()


    Activator.logger.INFO("Removing device....");
    keys=exportedDevices.keys();
    while (keys.hasMoreElements()) {
      Device dev = ((ExportedDeviceInfo)
          exportedDevices.get(keys.nextElement())).getDevice();
      dev.stop();
    }   
    Activator.logger.INFO("Done");
  }

  private synchronized boolean shouldEnd() {
View Full Code Here


          dev.getProperty(UPnPDevice.UDN)
        );
      Device d = edi.getDevice();
      if(d!=null) {
                Activator.logger.INFO("[Exporter] removing device:" +d.getFriendlyName());
        d.stop();
        exportedDevices.remove(d.getUDN());
      }
      ServiceRegistration srListener=edi.getServiceRegistration();
      if(srListener!=null) srListener.unregister();
     
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.