Interface DhcpServer
- All Known Implementing Classes:
IscDhcpServer
public interface DhcpServer
Controls the local DHCP server
-
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()Stops the DHCP server and ensures that it is not started after a reboot.voidenable(boolean start) Starts the DHCP server and ensures that it is automatically restarted after a reboot.voidsetConfiguration(DhcpServerConfiguration configuration) Updates the DHCP server's configuration.
-
Method Details
-
enable
void enable(boolean start) Starts the DHCP server and ensures that it is automatically restarted after a reboot. -
disable
void disable()Stops the DHCP server and ensures that it is not started after a reboot. -
setConfiguration
Updates the DHCP server's configuration. This might restart the server.- Parameters:
configuration- the configuration to apply
-