#include <senf/PPI/PassiveQueue.hh>
This adaptor queue is used to connect two active connectors to each other. The queue receives data in it's passive input and places them in it's queue. Whenever data is requested from the passive output, a packet is dequeued.
The PassiveQueue will automatically throttle in both directions. Throttling on the input connector is the standard throttling as implemented in connector::PassiveInput<>. Additional forward throttling notifications are sent out whenever the queue is empty.
Definition at line 54 of file PassiveQueue.hh.
Public Member Functions |
|
PassiveQueue () | |
template<class QDiscipline > | |
void | qdisc (QDiscipline const &disc) |
Change the queueing discipline. |
|
Public Attributes |
|
connector::PassiveInput | input |
connector::PassiveOutput | output |
senf::ppi::module::PassiveQueue:: | ||||
PassiveQueue | () | |||
Definition at line 38 of file PassiveQueue.cc.
void senf::ppi::module::PassiveQueue:: | ||||
qdisc | ( | QDiscipline const & | disc | ) |
Change the queueing discipline.
This call changes the queueing discipline of the queue. This call is just forwarded to the input connector.
Definition at line 37 of file PassiveQueue.cti.
connector::PassiveInput senf::ppi::module::PassiveQueue:: | ||||
input | ||||
Definition at line 57 of file PassiveQueue.hh.
connector::PassiveOutput senf::ppi::module::PassiveQueue:: | ||||
output | ||||
Definition at line 60 of file PassiveQueue.hh.