11#include <boost/shared_ptr.hpp>
39 Option6IA(uint16_t type, OptionBuffer::const_iterator begin,
40 OptionBuffer::const_iterator end);
66 virtual std::string
toText(
int indent = 0)
const;
104 virtual uint16_t
len()
const;
void setT1(uint32_t t1)
Sets T1 timer.
uint32_t getIAID() const
Returns IA identifier.
uint32_t iaid_
keeps IA identifier
uint32_t getT2() const
Returns T2 timer.
uint32_t getT1() const
Returns T1 timer.
static const size_t OPTION6_IA_LEN
Length of IA_NA and IA_PD content.
void setIAID(uint32_t iaid)
Sets Identity Association Identifier.
uint32_t t1_
keeps T1 timer value
virtual uint16_t len() const
returns complete length of option
Option6IA(uint16_t type, uint32_t iaid)
Ctor, used for constructed options, usually during transmission.
virtual OptionPtr clone() const
Copies this option and returns a pointer to the copy.
void pack(isc::util::OutputBuffer &buf, bool check=true) const
Writes option in wire-format to buf, returns pointer to first unused byte after stored option.
void setT2(uint32_t t2)
Sets T2 timer.
virtual std::string toText(int indent=0) const
Provides human readable text representation.
uint32_t t2_
keeps T2 timer value
virtual void unpack(OptionBufferConstIter begin, OptionBufferConstIter end)
Parses received buffer.
void check() const
A protected method used for option correctness.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
OptionBuffer::const_iterator OptionBufferConstIter
const_iterator for walking over OptionBuffer
boost::shared_ptr< Option6IA > Option6IAPtr
A pointer to the Option6IA object.
boost::shared_ptr< Option > OptionPtr
Defines the logger used by the top-level component of kea-lfc.