Kea 2.5.5
isc::stat_cmds::LeaseStatCmdsImpl::Parameters Class Reference

Wrapper class for stat-leaseX-get command parameters. More...

Public Member Functions

std::string toText ()
 Generate a string version of the contents. More...
 

Public Attributes

SubnetID first_subnet_id_
 Specifies the subnet-id for a single subnet, or the first subnet for a subnet range. More...
 
SubnetID last_subnet_id_
 Specifies the last subnet for subnet range. More...
 
LeaseStatsQuery::SelectMode select_mode_
 Denotes the query selection mode all, subnet, or subnet range. More...
 

Detailed Description

Wrapper class for stat-leaseX-get command parameters.

Definition at line 54 of file stat_cmds.cc.

Member Function Documentation

◆ toText()

std::string isc::stat_cmds::LeaseStatCmdsImpl::Parameters::toText ( )
inline

Generate a string version of the contents.

Definition at line 68 of file stat_cmds.cc.

References first_subnet_id_, last_subnet_id_, and select_mode_.

Referenced by isc::stat_cmds::LeaseStatCmdsImpl::statLease4GetHandler(), and isc::stat_cmds::LeaseStatCmdsImpl::statLease6GetHandler().

Member Data Documentation

◆ first_subnet_id_

SubnetID isc::stat_cmds::LeaseStatCmdsImpl::Parameters::first_subnet_id_

Specifies the subnet-id for a single subnet, or the first subnet for a subnet range.

Definition at line 58 of file stat_cmds.cc.

Referenced by isc::stat_cmds::LeaseStatCmdsImpl::getParameters(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet4(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet6(), and toText().

◆ last_subnet_id_

SubnetID isc::stat_cmds::LeaseStatCmdsImpl::Parameters::last_subnet_id_

◆ select_mode_

LeaseStatsQuery::SelectMode isc::stat_cmds::LeaseStatCmdsImpl::Parameters::select_mode_

Denotes the query selection mode all, subnet, or subnet range.

Definition at line 65 of file stat_cmds.cc.

Referenced by isc::stat_cmds::LeaseStatCmdsImpl::getParameters(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet4(), isc::stat_cmds::LeaseStatCmdsImpl::makeResultSet6(), and toText().


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