Interface DhcpServer

All Known Implementing Classes:
IscDhcpServer

public interface DhcpServer
Controls the local DHCP server
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Stops the DHCP server and ensures that it is not started after a reboot.
    void
    enable(boolean start)
    Starts the DHCP server and ensures that it is automatically restarted after a reboot.
    void
    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

      void setConfiguration(DhcpServerConfiguration configuration)
      Updates the DHCP server's configuration. This might restart the server.
      Parameters:
      configuration - the configuration to apply