Class NetworkStatePlugAndPlay
java.lang.Object
org.eblocker.server.common.network.NetworkState
org.eblocker.server.common.network.NetworkStatePlugAndPlay
Represents the Plug and Play mode. The box gets its IP address
from the router via DHCP. Devices are ARP-spoofed.
-
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
-
NetworkStatePlugAndPlay
public NetworkStatePlugAndPlay()
-
-
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
-