public class SimpleDhcpStore extends AbstractDhcpStore
| Constructor and Description |
|---|
SimpleDhcpStore() |
| Modifier and Type | Method and Description |
|---|---|
protected Host |
findDesignatedHost(HardwareAddress hardwareAddress)
Find a host to with the explicitely designated hardware address.
|
protected Lease |
findExistingLease(HardwareAddress hardwareAddress,
Lease existingLease)
Find an existing lease in the store.
|
protected Subnet |
findSubnet(InetAddress clientAddress)
Find the subnet for the given client address.
|
protected DirContext |
getContext() |
protected OptionsField |
getOptions(DhcpConfigElement element)
Return a list of all options applicable to the given config element.
|
protected Map |
getProperties(DhcpConfigElement element)
Return a list of all options applicable to the given config element.
|
void |
updateLease(Lease lease)
Update the (possibly changed) lease in the store.
|
getExistingLease, getLeaseOffer, releaseLeaseprotected DirContext getContext() throws NamingException
NamingExceptionprotected Lease findExistingLease(HardwareAddress hardwareAddress, Lease existingLease)
AbstractDhcpStorefindExistingLease in class AbstractDhcpStorehardwareAddress - existingLease - protected Host findDesignatedHost(HardwareAddress hardwareAddress) throws DhcpException
AbstractDhcpStorefindDesignatedHost in class AbstractDhcpStorehardwareAddress - DhcpExceptionprotected Subnet findSubnet(InetAddress clientAddress)
findSubnet in class AbstractDhcpStoreclientAddress - public void updateLease(Lease lease)
AbstractDhcpStoreupdateLease in class AbstractDhcpStoreprotected OptionsField getOptions(DhcpConfigElement element)
AbstractDhcpStoregetOptions in class AbstractDhcpStoreprotected Map getProperties(DhcpConfigElement element)
AbstractDhcpStoregetProperties in class AbstractDhcpStoreCopyright © 2021. All rights reserved.