senf::ppi::module::ThrottleBarrier Class Reference

Packet discarding barrier for throttle notifications. More...

#include <senf/PPI/ThrottleBarrier.hh>

Inheritance diagram for senf::ppi::module::ThrottleBarrier:

Public Member Functions

 ThrottleBarrier ()
 
- Public Member Functions inherited from senf::ppi::module::Module
virtual ~Module ()
 

Public Attributes

connector::PassiveInput input
 
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)
 Define flow information. More...
 
Route< connector::InputConnector, EventDescriptor > & route (connector::InputConnector &input, EventDescriptor &output)
 Define flow information. More...
 
Route< EventDescriptor, connector::OutputConnector > & route (EventDescriptor &input, connector::OutputConnector &output)
 Define flow information. More...
 
void noroute (connector::Connector &connector)
 Define terminal connectors. More...
 
template<class Target >
void registerEvent (EventDescriptor &descriptor, Target target)
 Register an external event. More...
 
ClockService::clock_type const & time () const
 Time-stamp of the currently processing event. More...
 
ClockService::clock_type const & now () const
 Current time of the currently processing event. More...
 
virtual void v_init ()
 Called after module setup. More...
 
console::DirectoryNodesysConsoleDir () const
 
void destroy ()
 

Detailed Description

Packet discarding barrier for throttle notifications.

A ThrottleBarrier will not forward any throttle notifications received on it's output. It will instead discard any packet received on it's input while the output is throttled. This module is used to circumvent any operating system based queueing. This allows the queueing to be controlled explicitly within the PPI.

Definition at line 40 of file ThrottleBarrier.hh.

Constructor & Destructor Documentation

◆ ThrottleBarrier()

senf::ppi::module::ThrottleBarrier::ThrottleBarrier ( )

Definition at line 26 of file ThrottleBarrier.cc.

Member Data Documentation

◆ input

connector::PassiveInput senf::ppi::module::ThrottleBarrier::input

Definition at line 43 of file ThrottleBarrier.hh.

◆ output

connector::ActiveOutput senf::ppi::module::ThrottleBarrier::output

Definition at line 47 of file ThrottleBarrier.hh.


The documentation for this class was generated from the following files: