Kea 2.7.1
basic_scen.h
Go to the documentation of this file.
1// Copyright (C) 2012-2019 Internet Systems Consortium, Inc. ("ISC")
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7#ifndef BASIC_SCEN_H
8#define BASIC_SCEN_H
9
10#include <config.h>
11
13
14
15namespace isc {
16namespace perfdhcp {
17
18
68
69}
70}
71
72#endif // BASIC_SCEN_H
Abstract Scenario class.
CommandOptions & options_
Reference to commandline options.
Socket wrapper structure.
Definition perf_socket.h:26
Basic Scenario class.
Definition basic_scen.h:23
RateControl renew_rate_control_
A rate control class for Renew messages.
Definition basic_scen.h:52
BasicScen(CommandOptions &options, BasePerfSocket &socket)
Default and the only constructor of BasicScen.
Definition basic_scen.h:29
int run() override
brief\ Run performance test.
bool checkExitConditions()
Check if test exit conditions fulfilled.
Definition basic_scen.cc:24
RateControl release_rate_control_
A rate control class for Release messages.
Definition basic_scen.h:54
RateControl basic_rate_control_
A rate control class for Discover and Solicit messages.
Definition basic_scen.h:50
int getRenewRate() const
Returns a rate at which DHCPv6 Renew messages are sent.
int getRate() const
Returns exchange rate.
int getReleaseRate() const
Returns a rate at which DHCPv6 Release messages are sent.
A message sending rate control class for perfdhcp.
void setRate(const int rate)
Sets the new rate.
Defines the logger used by the top-level component of kea-lfc.