|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.dhcp.options.DhcpOption
org.apache.directory.server.dhcp.options.dhcp.IpAddressLeaseTime
public class IpAddressLeaseTime
This option is used in a client request (DHCPDISCOVER or DHCPREQUEST) to allow the client to request a lease time for the IP address. In a server reply (DHCPOFFER), a DHCP server uses this option to specify the lease time it is willing to offer. The time is in units of seconds, and is specified as a 32-bit unsigned integer. The code for this option is 51, and its length is 4.
Constructor Summary | |
---|---|
IpAddressLeaseTime(byte[] ipAddressLeaseTime)
|
Method Summary | |
---|---|
protected void |
valueToByteBuffer(java.nio.ByteBuffer out)
|
Methods inherited from class org.apache.directory.server.dhcp.options.DhcpOption |
---|
writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IpAddressLeaseTime(byte[] ipAddressLeaseTime)
Method Detail |
---|
protected void valueToByteBuffer(java.nio.ByteBuffer out)
valueToByteBuffer
in class DhcpOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |