Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TOptIA Class Reference

#include <OptIA.h>

+ Inheritance diagram for TOptIA:
+ Collaboration diagram for TOptIA:

Public Member Functions

 TOptIA (uint16_t type, uint32_t iaid, uint32_t t1, uint32_t t2, TMsg *parent)
 TOptIA (uint16_t type, TMsg *parent)
unsigned long getIAID () const
int getStatusCode ()
unsigned long getT1 () const
unsigned long getT2 () const
void setIAID (uint32_t iaid)
void setT1 (unsigned long t1)
void setT2 (unsigned long t2)
- Public Member Functions inherited from TOpt
 TOpt (int optType, TMsg *parent)
virtual ~TOpt ()
void addOption (TOptPtr opt)
int countOption ()
void delAllOptions ()
bool delOption (uint16_t type)
 Deletes all specified options of that type.
virtual bool doDuties ()=0
void firstOption ()
TOptPtr getOption (int type)
TOptPtr getOption ()
int getOptType ()
virtual std::string getPlain ()
virtual size_t getSize ()=0
virtual bool isValid () const
void setParent (TMsg *Parent)
virtual char * storeSelf (char *buf)=0

Protected Attributes

unsigned long IAID_
unsigned long T1_
unsigned long T2_
bool Valid_
- Protected Attributes inherited from TOpt
int OptType
TOptContainer SubOptions
bool Valid

Additional Inherited Members

- Public Types inherited from TOpt
enum  EOptionLayout {
  Layout_Addr, Layout_AddrLst, Layout_String, Layout_StringLst,
  Layout_Duid, Layout_Generic
- Static Public Member Functions inherited from TOpt
static TOptPtr getOption (const TOptList &list, uint16_t opt_type)
static bool parseOptions (TOptContainer &options, const char *buf, size_t len, TMsg *parent, uint16_t placeId=0, std::string place="option")
 Parses options or suboptions, creates appropriate objects and store them in options container.
- Static Public Attributes inherited from TOpt
static const size_t OPTION6_HDR_LEN = 4
 length of a DHCPv6 option header
- Protected Member Functions inherited from TOpt
int getSubOptSize ()
char * storeHeader (char *buf)
char * storeSubOpt (char *buf)

Constructor & Destructor Documentation

TOptIA::TOptIA ( uint16_t  type,
uint32_t  iaid,
uint32_t  t1,
uint32_t  t2,
TMsg parent 
TOptIA::TOptIA ( uint16_t  type,
TMsg parent 

Member Function Documentation

unsigned long TOptIA::getIAID ( ) const
int TOptIA::getStatusCode ( )

Reimplemented in TClntOptIA_NA.

unsigned long TOptIA::getT1 ( ) const
unsigned long TOptIA::getT2 ( ) const
void TOptIA::setIAID ( uint32_t  iaid)
void TOptIA::setT1 ( unsigned long  t1)
void TOptIA::setT2 ( unsigned long  t2)

Member Data Documentation

unsigned long TOptIA::IAID_
unsigned long TOptIA::T1_
unsigned long TOptIA::T2_
bool TOptIA::Valid_

The documentation for this class was generated from the following files: