Kea  2.1.7-git
isc::dhcp::PSID Class Reference

Encapsulates PSID value. More...

#include <option_data_types.h>

Public Member Functions

 PSID ()
 Default constructor. More...
 
 PSID (const uint16_t psid)
 Constructor. More...
 
uint16_t asUint16 () const
 Returns PSID value as a number. More...
 

Detailed Description

Encapsulates PSID value.

Definition at line 246 of file option_data_types.h.

Constructor & Destructor Documentation

◆ PSID() [1/2]

isc::dhcp::PSID::PSID ( )
inline

Default constructor.

Definition at line 250 of file option_data_types.h.

◆ PSID() [2/2]

isc::dhcp::PSID::PSID ( const uint16_t  psid)
inlineexplicit

Constructor.

This constructor doesn't perform any checks on the input data.

Parameters
psidPSID value.

Definition at line 257 of file option_data_types.h.

Member Function Documentation

◆ asUint16()

uint16_t isc::dhcp::PSID::asUint16 ( ) const
inline

Returns PSID value as a number.

Definition at line 262 of file option_data_types.h.

Referenced by isc::dhcp::OptionDataTypeUtil::writePsid().


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