com.eurotech.framework.linux.net.dhcp
Class DhcpServerImpl

java.lang.Object
  extended by com.eurotech.framework.linux.net.dhcp.DhcpServerImpl
All Implemented Interfaces:
DhcpServer

public class DhcpServerImpl
extends Object
implements DhcpServer


Method Summary
 boolean disable()
           
 boolean enable()
           
 String getConfigFilename()
           
 DhcpServerConfig4 getDhcpServerConfig(boolean enabled, boolean passDns)
           
 boolean isConfigured()
           
 boolean isRunning()
          Returns whether or not the DhcpServer is actively running or not
 void setConfig(DhcpServerConfigIP4 dhcpServerConfig4)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isRunning

public boolean isRunning()
                  throws EsfException
Description copied from interface: DhcpServer
Returns whether or not the DhcpServer is actively running or not

Specified by:
isRunning in interface DhcpServer
Returns:
a boolean denoting whether or not the DhcpServer is running or not
Throws:
EsfException

enable

public boolean enable()
               throws EsfException
Throws:
EsfException

disable

public boolean disable()
                throws EsfException
Throws:
EsfException

isConfigured

public boolean isConfigured()

setConfig

public void setConfig(DhcpServerConfigIP4 dhcpServerConfig4)
               throws EsfException
Throws:
EsfException

getDhcpServerConfig

public DhcpServerConfig4 getDhcpServerConfig(boolean enabled,
                                             boolean passDns)

getConfigFilename

public String getConfigFilename()


Copyright © 2013. All Rights Reserved.