Package org.cybergarage.upnp.xml
Class DeviceData
java.lang.Object
org.cybergarage.upnp.xml.NodeData
org.cybergarage.upnp.xml.DeviceData
I2P added multiple location support
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getLocation
(boolean preferIPv6) I2P for multiple location supportgetSSDPPacket
(boolean preferIPv6) I2P for multiple location supportint
void
setAdvertiser
(Advertiser adv) void
setDescriptionFile
(File descriptionFile) void
setDescriptionURI
(String descriptionURI) void
setHTTPBindAddress
(InetAddress[] inets) void
setHTTPPort
(int port) void
setLeaseTime
(int val) void
setLocation
(String location) void
void
void
setSSDPBindAddress
(InetAddress[] inets) void
setSSDPPacket
(SSDPPacket packet) void
setSSDPPort
(int port)
-
Constructor Details
-
DeviceData
public DeviceData()
-
-
Method Details
-
getDescriptionFile
-
getDescriptionURI
-
setDescriptionFile
-
setDescriptionURI
-
getLocation
-
getLocation
I2P for multiple location support- Since:
- 0.9.50
-
setLocation
-
getLeaseTime
public int getLeaseTime() -
setLeaseTime
public void setLeaseTime(int val) -
getHTTPServerList
-
setHTTPBindAddress
-
getHTTPBindAddress
-
getHTTPPort
public int getHTTPPort() -
setHTTPPort
public void setHTTPPort(int port) -
getControlActionListenerList
-
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
- Parameters:
inets
- TheInetAddress
that will be binded for listing this service. Usenull
for the default behaviur.- Since:
- 1.8
- See Also:
-
getSSDPBindAddress
- Returns:
- inets The
InetAddress
that will be binded for this servicenull
means that defulat behaviur will be used - Since:
- 1.8
-
setMulticastIPv4Address
- Parameters:
ip
- The IPv4 address used as destination address for Multicast comunication- Since:
- 1.8
-
getMulticastIPv4Address
- Returns:
- The IPv4 address used for Multicast comunication
-
setMulticastIPv6Address
- Parameters:
ip
- The IPv6 address used as destination address for Multicast comunication- Since:
- 1.8
-
getMulticastIPv6Address
- Returns:
- The IPv6 address used as destination address for Multicast comunication
- Since:
- 1.8
-
getSSDPPacket
-
getSSDPPacket
I2P for multiple location support- Since:
- 0.9.50
-
setSSDPPacket
-
setAdvertiser
-
getAdvertiser
-