public class ConfigUpdate
extends Object
Constructor and Description |
---|
ConfigUpdate() |
Modifier and Type | Method and Description |
---|---|
ConfigUpdate |
setDHCP(boolean enabled)
Set whether the bridge uses DHCP to get an ip address or not.
|
ConfigUpdate |
setGateway(String ip)
Set the gateway address of the bridge.
|
ConfigUpdate |
setIPAddress(String ip)
Set the IP address of the bridge.
|
ConfigUpdate |
setLinkButton(boolean pressed)
Set whether the link button has been pressed within the last 30 seconds or not.
|
ConfigUpdate |
setName(String name)
Set the name of the bridge, which also functions as the UPnP name.
|
ConfigUpdate |
setNetworkMask(String netmask)
Set the network mask of the bridge.
|
ConfigUpdate |
setProxyAddress(String ip)
Set the address of the proxy or null if there is no proxy.
|
ConfigUpdate |
setProxyPort(Integer port)
Set the port of the proxy or null if there is no proxy.
|
public ConfigUpdate setProxyPort(Integer port)
port
- port for proxypublic ConfigUpdate setName(String name)
name
- new name [4..16]public ConfigUpdate setProxyAddress(String ip)
ip
- ip of proxypublic ConfigUpdate setLinkButton(boolean pressed)
pressed
- true for pressed, false for not pressedpublic ConfigUpdate setIPAddress(String ip)
ip
- ip address of bridgepublic ConfigUpdate setNetworkMask(String netmask)
netmask
- network maskpublic ConfigUpdate setGateway(String ip)
ip
- gateway addresspublic ConfigUpdate setDHCP(boolean enabled)
enabled
- dhcp enabled