Kea 2.7.6
|
Abstract Scenario class. More...
#include <abstract_scen.h>
Public Member Functions | |
AbstractScen (CommandOptions &options, BasePerfSocket &socket) | |
Default and the only constructor of AbstractScen. | |
virtual | ~AbstractScen () |
Trivial virtual destructor. | |
virtual int | run ()=0 |
Run performance test. | |
Protected Attributes | |
CommandOptions & | options_ |
Reference to commandline options. | |
ExchangeType | stage1_xchg_ |
ExchangeType | stage2_xchg_ |
TestControl | tc_ |
Object for controlling sending and receiving packets. | |
Abstract Scenario class.
This class must be inherited by scenario classes.
Definition at line 21 of file abstract_scen.h.
|
inline |
Default and the only constructor of AbstractScen.
options | reference to command options, |
socket | reference to a socket. |
Definition at line 27 of file abstract_scen.h.
References isc::perfdhcp::CommandOptions::getIpVersion(), and options_.
|
inlinevirtual |
Trivial virtual destructor.
Definition at line 48 of file abstract_scen.h.
|
pure virtual |
Run performance test.
Method runs whole performance test.
Implemented in isc::perfdhcp::AvalancheScen, and isc::perfdhcp::BasicScen.
|
protected |
Reference to commandline options.
Definition at line 51 of file abstract_scen.h.
Referenced by AbstractScen(), isc::perfdhcp::BasicScen::BasicScen(), isc::perfdhcp::BasicScen::checkExitConditions(), isc::perfdhcp::AvalancheScen::resendPackets(), isc::perfdhcp::AvalancheScen::run(), and isc::perfdhcp::BasicScen::run().
|
protected |
Definition at line 56 of file abstract_scen.h.
Referenced by isc::perfdhcp::BasicScen::checkExitConditions(), and isc::perfdhcp::AvalancheScen::run().
|
protected |
Definition at line 57 of file abstract_scen.h.
Referenced by isc::perfdhcp::BasicScen::checkExitConditions(), and isc::perfdhcp::AvalancheScen::run().
|
protected |
Object for controlling sending and receiving packets.
Definition at line 52 of file abstract_scen.h.
Referenced by isc::perfdhcp::BasicScen::checkExitConditions(), isc::perfdhcp::AvalancheScen::resendPackets(), isc::perfdhcp::AvalancheScen::run(), and isc::perfdhcp::BasicScen::run().