43 randomDistribution_.reset(
new RandomDistribution(lossRate));
44 randomGenerator_.reset(
new RandomGenerator(randomEngine_, *randomDistribution_));
Route< connector::InputConnector, connector::OutputConnector > & route(connector::InputConnector &input, connector::OutputConnector &output)
PacketDropper public header.
PacketDropper(double rate)
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_nanoseconds(clock_type const &v)
void onRequest(Handler handler)
ppi::connector::ActiveOutput output
ppi::connector::PassiveInput input