#include <senf/Ext/NetEmu/Modules/PacketDropper.hh>
Public Member Functions | |
PacketDropper (double rate) | |
double | lossRate () const |
void | lossRate (double lossRate) |
Public Member Functions inherited from senf::ppi::module::Module | |
virtual | ~Module () |
Public Attributes | |
ppi::connector::PassiveInput | input |
ppi::connector::ActiveOutput | output |
Additional Inherited Members | |
Protected Member Functions inherited from senf::ppi::module::Module | |
Module () | |
Route< connector::InputConnector, connector::OutputConnector > & | route (connector::InputConnector &input, connector::OutputConnector &output) |
Route< connector::InputConnector, EventDescriptor > & | route (connector::InputConnector &input, EventDescriptor &output) |
Route< EventDescriptor, connector::OutputConnector > & | route (EventDescriptor &input, connector::OutputConnector &output) |
void | noroute (connector::Connector &connector) |
void | registerEvent (EventDescriptor &descriptor, Target target) |
ClockService::clock_type const & | time () const |
ClockService::clock_type const & | now () const |
virtual void | v_init () |
console::DirectoryNode & | sysConsoleDir () const |
void | destroy () |
Definition at line 30 of file PacketDropper.hh.
senf::emu::PacketDropper::PacketDropper | ( | double | rate | ) |
Definition at line 24 of file PacketDropper.cc.
double senf::emu::PacketDropper::lossRate | ( | ) | const |
Definition at line 47 of file PacketDropper.cc.
void senf::emu::PacketDropper::lossRate | ( | double | lossRate | ) |
Definition at line 31 of file PacketDropper.cc.
ppi::connector::PassiveInput senf::emu::PacketDropper::input |
Definition at line 33 of file PacketDropper.hh.
ppi::connector::ActiveOutput senf::emu::PacketDropper::output |
Definition at line 37 of file PacketDropper.hh.