Class DhcpClientLeaseReader
java.lang.Object
org.eblocker.server.common.network.unix.DhcpClientLeaseReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReads the last DHCP client lease from the configured leases file.
-
Constructor Details
-
DhcpClientLeaseReader
-
-
Method Details
-
readLease
Reads the last DHCP client lease from the configured leases file.- Returns:
- a DhcpClientLease object or null if the leases file does not exist or does not contain any leases.
-