| Package | Description |
|---|---|
| org.apache.directory.server.dhcp.service |
Provides the implementation of the
DhcpService. |
| org.apache.directory.server.dhcp.store |
| Modifier and Type | Method and Description |
|---|---|
private Lease |
StoreBasedDhcpService.getExistingLease(java.net.InetSocketAddress clientAddress,
DhcpMessage request)
Try to get an existing lease.
|
private Lease |
StoreBasedDhcpService.getLeaseOffer(java.net.InetSocketAddress clientAddress,
DhcpMessage request)
Determine a lease to offer in response to a DHCPDISCOVER message.
|
| Modifier and Type | Method and Description |
|---|---|
protected Lease |
SimpleDhcpStore.findExistingLease(HardwareAddress hardwareAddress,
Lease existingLease) |
protected abstract Lease |
AbstractDhcpStore.findExistingLease(HardwareAddress hardwareAddress,
Lease existingLease)
Find an existing lease in the store.
|
Lease |
DhcpStore.getExistingLease(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options)
Retrieve an existing lease from the dhcp store.
|
Lease |
AbstractDhcpStore.getExistingLease(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options) |
Lease |
DhcpStore.getLeaseOffer(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options)
Find a lease to offer in response to a DHCPDISCOVER request.
|
Lease |
AbstractDhcpStore.getLeaseOffer(HardwareAddress hardwareAddress,
java.net.InetAddress requestedAddress,
java.net.InetAddress selectionBase,
long requestedLeaseTime,
OptionsField options) |
| Modifier and Type | Method and Description |
|---|---|
protected Lease |
SimpleDhcpStore.findExistingLease(HardwareAddress hardwareAddress,
Lease existingLease) |
protected abstract Lease |
AbstractDhcpStore.findExistingLease(HardwareAddress hardwareAddress,
Lease existingLease)
Find an existing lease in the store.
|
void |
DhcpStore.releaseLease(Lease lease)
Release the specified lease.
|
void |
AbstractDhcpStore.releaseLease(Lease lease) |
void |
SimpleDhcpStore.updateLease(Lease lease) |
protected abstract void |
AbstractDhcpStore.updateLease(Lease lease)
Update the (possibly changed) lease in the store.
|