Kea
1.9.9-git
|
Abstract Scenario class. More...
#include <abstract_scen.h>
Public Member Functions | |
AbstractScen (CommandOptions &options, BasePerfSocket &socket) | |
Default and the only constructor of AbstractScen. More... | |
virtual | ~AbstractScen () |
Trivial virtual destructor. More... | |
virtual int | run ()=0 |
Run performance test. More... | |
Protected Attributes | |
CommandOptions & | options_ |
Reference to commandline options. More... | |
ExchangeType | stage1_xchg_ |
ExchangeType | stage2_xchg_ |
TestControl | tc_ |
Object for controlling sending and receiving packets. More... | |
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::DO, isc::perfdhcp::CommandOptions::getIpVersion(), options_, isc::perfdhcp::RA, isc::perfdhcp::RR, isc::perfdhcp::SA, stage1_xchg_, and stage2_xchg_.
|
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 48 of file abstract_scen.h.
Referenced by AbstractScen(), and isc::perfdhcp::BasicScen::BasicScen().
|
protected |
Definition at line 56 of file abstract_scen.h.
Referenced by AbstractScen().
|
protected |
Definition at line 57 of file abstract_scen.h.
Referenced by AbstractScen().
|
protected |
Object for controlling sending and receiving packets.
Definition at line 52 of file abstract_scen.h.