Package org.cybergarage.upnp.ssdp

Examples of org.cybergarage.upnp.ssdp.SSDPPacket


  // //////////////////////////////////////////////
  // Interface Address
  // //////////////////////////////////////////////

  public String getInterfaceAddress() {
    SSDPPacket ssdpPacket = getSSDPPacket();
    if (ssdpPacket == null)
      return "";
    return ssdpPacket.getLocalAddress();
  }
View Full Code Here


  public void setLocation(String value) {
    getDeviceData().setLocation(value);
  }

  public String getLocation() {
    SSDPPacket packet = getSSDPPacket();
    if (packet != null)
      return packet.getLocation();
    return getDeviceData().getLocation();
  }
View Full Code Here

      adv.restart();
    }
  }

  public int getLeaseTime() {
    SSDPPacket packet = getSSDPPacket();
    if (packet != null)
      return packet.getLeaseTime();
    return getDeviceData().getLeaseTime();
  }
View Full Code Here

  // //////////////////////////////////////////////
  // TimeStamp
  // //////////////////////////////////////////////

  public long getTimeStamp() {
    SSDPPacket packet = getSSDPPacket();
    if (packet != null)
      return packet.getTimeStamp();
    return 0;
  }
View Full Code Here

TOP

Related Classes of org.cybergarage.upnp.ssdp.SSDPPacket

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.