Class DeviceData

java.lang.Object
org.cybergarage.upnp.xml.NodeData
org.cybergarage.upnp.xml.DeviceData

public class DeviceData extends NodeData
I2P added multiple location support
  • Constructor Details

    • DeviceData

      public DeviceData()
  • Method Details

    • getDescriptionFile

      public File getDescriptionFile()
    • getDescriptionURI

      public String getDescriptionURI()
    • setDescriptionFile

      public void setDescriptionFile(File descriptionFile)
    • setDescriptionURI

      public void setDescriptionURI(String descriptionURI)
    • getLocation

      public String getLocation()
    • getLocation

      public String getLocation(boolean preferIPv6)
      I2P for multiple location support
      Since:
      0.9.50
    • setLocation

      public void setLocation(String location)
    • getLeaseTime

      public int getLeaseTime()
    • setLeaseTime

      public void setLeaseTime(int val)
    • getHTTPServerList

      public HTTPServerList getHTTPServerList()
    • setHTTPBindAddress

      public void setHTTPBindAddress(InetAddress[] inets)
    • getHTTPBindAddress

      public InetAddress[] getHTTPBindAddress()
    • getHTTPPort

      public int getHTTPPort()
    • setHTTPPort

      public void setHTTPPort(int port)
    • getControlActionListenerList

      public ListenerList getControlActionListenerList()
    • getSSDPSearchSocketList

      public SSDPSearchSocketList getSSDPSearchSocketList()
    • setSSDPPort

      public void setSSDPPort(int port)
      Parameters:
      port - The port to use for binding the SSDP service. The port will be used as source port for all SSDP messages
      Since:
      1.8
    • getSSDPPort

      public int getSSDPPort()
      Returns:
      The port used for binding the SSDP service. The port will be used as source port for all SSDP messages
    • setSSDPBindAddress

      public void setSSDPBindAddress(InetAddress[] inets)
      Parameters:
      inets - The InetAddress that will be binded for listing this service. Use null for the default behaviur.
      Since:
      1.8
      See Also:
    • getSSDPBindAddress

      public InetAddress[] getSSDPBindAddress()
      Returns:
      inets The InetAddress that will be binded for this service null means that defulat behaviur will be used
      Since:
      1.8
    • setMulticastIPv4Address

      public void setMulticastIPv4Address(String ip)
      Parameters:
      ip - The IPv4 address used as destination address for Multicast comunication
      Since:
      1.8
    • getMulticastIPv4Address

      public String getMulticastIPv4Address()
      Returns:
      The IPv4 address used for Multicast comunication
    • setMulticastIPv6Address

      public void setMulticastIPv6Address(String ip)
      Parameters:
      ip - The IPv6 address used as destination address for Multicast comunication
      Since:
      1.8
    • getMulticastIPv6Address

      public String getMulticastIPv6Address()
      Returns:
      The IPv6 address used as destination address for Multicast comunication
      Since:
      1.8
    • getSSDPPacket

      public SSDPPacket getSSDPPacket()
    • getSSDPPacket

      public SSDPPacket getSSDPPacket(boolean preferIPv6)
      I2P for multiple location support
      Since:
      0.9.50
    • setSSDPPacket

      public void setSSDPPacket(SSDPPacket packet)
    • setAdvertiser

      public void setAdvertiser(Advertiser adv)
    • getAdvertiser

      public Advertiser getAdvertiser()