org.cybergarage.upnp.xml
Class DeviceData
java.lang.Object
org.cybergarage.upnp.xml.NodeData
org.cybergarage.upnp.xml.DeviceData
public class DeviceData
- extends NodeData
This class rappresent the information related to a UPnP Device, which are both realted to the XML description of the UPnP device itelsef and it's run-time status.
- Version:
- 1.8
- Author:
- Satoshi "skonno" Konno, Stefano "Kismet" Lenzi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceData
public DeviceData()
getDescriptionFile
public File getDescriptionFile()
getDescriptionURI
public String getDescriptionURI()
setDescriptionFile
public void setDescriptionFile(File descriptionFile)
setDescriptionURI
public void setDescriptionURI(String descriptionURI)
getLocation
public String getLocation()
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:
UPnP}
,
USSDP}
,
HostInterface}
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()
setSSDPPacket
public void setSSDPPacket(SSDPPacket packet)
setAdvertiser
public void setAdvertiser(Advertiser adv)
getAdvertiser
public Advertiser getAdvertiser()
Copyright © 2012 DomoWare. All Rights Reserved.