InitAsShortVariant()
Initializes the Update Lease Option using the short variant format which contains lease interval only.
InitAsLongVariant()
Initializes the Update Lease Option using the long variant format which contains both lease and key lease intervals.
IsShortVariant() const
Indicates whether or not the Update Lease Option follows the short variant format which contains only the lease interval.
IsValid() const
Tells whether this is a valid Lease Option. Validates that option follows either short or long variant format.
GetLeaseInterval() const
Returns the Update Lease OPT record's lease interval value.
GetKeyLeaseInterval() const
Returns the Update Lease OPT record's key lease interval value. If the Update Lease Option follows the short variant format the lease interval is returned as key lease interval.
ReadFrom()
Searches among the Options is a given message and reads and validates the Update Lease Option if found. Reads the Update Lease Option whether it follows the short or long variant formats.
SetLeaseInterval()
SetKeyLeaseInterval()