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

#include <ClntOptFQDN.h>

+ Inheritance diagram for TClntOptFQDN:
+ Collaboration diagram for TClntOptFQDN:

Public Member Functions

 TClntOptFQDN (const std::string &fqdn, TMsg *parent)
 TClntOptFQDN (char *buf, int bufsize, TMsg *parent)
bool doDuties ()
void setSrvDuid (SPtr< TDUID > duid)
- Public Member Functions inherited from TOptFQDN
 TOptFQDN (const std::string &fqdn, TMsg *parent)
 TOptFQDN (const char *buf, int bufsize, TMsg *parent)
 ~TOptFQDN ()
std::string getFQDN () const
bool getNFlag () const
bool getOFlag () const
virtual std::string getPlain ()
bool getSFlag () const
size_t getSize ()
 returns option size
bool isValid () const
void setNFlag (bool flag)
void setOFlag (bool flag)
void setSFlag (bool flag)
char * storeSelf (char *buf)
- 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.
void firstOption ()
TOptPtr getOption (int type)
TOptPtr getOption ()
int getOptType ()
void setParent (TMsg *Parent)

Private Attributes

SPtr< TDUIDSrvDUID

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)
- Protected Attributes inherited from TOpt
int OptType
TMsgParent
TOptContainer SubOptions
bool Valid

Constructor & Destructor Documentation

TClntOptFQDN::TClntOptFQDN ( const std::string &  fqdn,
TMsg parent 
)
TClntOptFQDN::TClntOptFQDN ( char *  buf,
int  bufsize,
TMsg parent 
)
Todo:
: do some validity check

Member Function Documentation

bool TClntOptFQDN::doDuties ( )
virtual
Todo:
: Check the DNS server with the given name.

Reimplemented from TOptFQDN.

void TClntOptFQDN::setSrvDuid ( SPtr< TDUID duid)

Member Data Documentation

SPtr<TDUID> TClntOptFQDN::SrvDUID
private

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