Class IscDhcpServer

java.lang.Object
org.eblocker.server.common.network.unix.IscDhcpServer
All Implemented Interfaces:
DhcpServer

public class IscDhcpServer extends Object implements DhcpServer
Controls the isc-dhcp-server service on Debian
  • Constructor Details

  • Method Details

    • enable

      public void enable(boolean start)
      Description copied from interface: DhcpServer
      Starts the DHCP server and ensures that it is automatically restarted after a reboot.
      Specified by:
      enable in interface DhcpServer
    • disable

      public void disable()
      Description copied from interface: DhcpServer
      Stops the DHCP server and ensures that it is not started after a reboot.
      Specified by:
      disable in interface DhcpServer
    • setConfiguration

      public void setConfiguration(DhcpServerConfiguration configuration)
      Description copied from interface: DhcpServer
      Updates the DHCP server's configuration. This might restart the server.
      Specified by:
      setConfiguration in interface DhcpServer
      Parameters:
      configuration - the configuration to apply