Package org.cybergarage.upnp.device

Examples of org.cybergarage.upnp.device.Advertiser


  // LeaseTime
  // //////////////////////////////////////////////

  public void setLeaseTime(int value) {
    getDeviceData().setLeaseTime(value);
    Advertiser adv = getAdvertiser();
    if (adv != null) {
      announce();
      adv.restart();
    }
  }
View Full Code Here


    // //////////////////////////////////////
    // Advertiser
    // //////////////////////////////////////

    Advertiser adv = new Advertiser(this);
    setAdvertiser(adv);
    adv.start();

    return true;
  }
View Full Code Here

    SSDPSearchSocketList ssdpSearchSockList = getSSDPSearchSocketList();
    ssdpSearchSockList.stop();
    ssdpSearchSockList.close();
    ssdpSearchSockList.clear();

    Advertiser adv = getAdvertiser();
    if (adv != null) {
      adv.stop();
      setAdvertiser(null);
    }

    return true;
  }
View Full Code Here

TOP

Related Classes of org.cybergarage.upnp.device.Advertiser

Copyright © 2018 www.massapicom. 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.