Class NetworkStateExternalDhcp
java.lang.Object
org.eblocker.server.common.network.NetworkState
org.eblocker.server.common.network.NetworkStateExternalDhcp
Represents the following network state:
The IP address is statically configured.
Clients get their addresses from an external DHCP server,
e.g. running on the router.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()voidonEntry(NetworkServices services, NetworkConfiguration configuration, boolean willReboot) Perform all steps that are necessary to enter this state, e.g. services must be configured and started.voidonExit(NetworkServices services) Perform all steps that are necessary to leave this state, e.g. services must be stopped.Methods inherited from class org.eblocker.server.common.network.NetworkState
onConfigurationUpdate
-
Constructor Details
-
NetworkStateExternalDhcp
public NetworkStateExternalDhcp()
-
-
Method Details
-
onExit
Description copied from class:NetworkStatePerform all steps that are necessary to leave this state, e.g. services must be stopped.- Specified by:
onExitin classNetworkState
-
onEntry
public void onEntry(NetworkServices services, NetworkConfiguration configuration, boolean willReboot) Description copied from class:NetworkStatePerform all steps that are necessary to enter this state, e.g. services must be configured and started.- Specified by:
onEntryin classNetworkStatewillReboot- true if the system will be rebooted afterwards
-
getId
- Specified by:
getIdin classNetworkState
-