#include <senf/PPI/Connectors.hh>
The GenericPassiveInput automatically controls the connectors throttling state using a queueing discipline. The standard queueing discipline is ThresholdQueueing, which throttles the connection whenever the queue length reaches the high threshold and unthrottles the connection when the queue reaches the low threshold. The default queueing discipline is ThresholdQueueing(1,0)
which will throttle the input whenever the queue is non-empty.
Definition at line 471 of file Connectors.hh.
Public Member Functions |
|
GenericActiveOutput & | peer () const |
Get peer connected to this connector. |
|
bool | boolean_test () const |
true , if ! empty() |
|
template<class QDisc > | |
void | qdisc (QDisc const &disc) |
Change the queueing discipline. |
|
void | qdisc (QueueingDiscipline::None_t) |
Disable queueing discipline. |
|
Protected Member Functions |
|
GenericPassiveInput () | |
virtual void | v_disconnected () |
virtual void | v_connected () |
senf::ppi::connector::GenericPassiveInput:: | ||||
GenericPassiveInput | () | |||
Definition at line 305 of file Connectors.cci.
bool senf::ppi::connector::GenericPassiveInput:: | ||||
boolean_test | () | |||
true
, if ! empty()
Definition at line 316 of file Connectors.cci.
senf::ppi::connector::GenericActiveOutput & senf::ppi::connector::GenericPassiveInput:: | ||||
peer | () | |||
Get peer connected to this connector.
Reimplemented from senf::ppi::connector::PassiveConnector.
Definition at line 309 of file Connectors.cci.
void senf::ppi::connector::GenericPassiveInput:: | ||||
qdisc | ( | QueueingDiscipline::None_t | ) | |
Disable queueing discipline.
Definition at line 461 of file Connectors.cc.
void senf::ppi::connector::GenericPassiveInput:: | ||||
qdisc | ( | QDisc const & | disc | ) |
Change the queueing discipline.
The queueing discipline is a class which provides the QueueingDiscipline interface.
[in] | disc | New queueing discipline |
Definition at line 61 of file Connectors.ct.
void senf::ppi::connector::GenericPassiveInput:: | ||||
v_connected | () | |||
Reimplemented from senf::ppi::connector::PassiveConnector.
Definition at line 438 of file Connectors.cc.
void senf::ppi::connector::GenericPassiveInput:: | ||||
v_disconnected | () | |||
Reimplemented from senf::ppi::connector::PassiveConnector.
Definition at line 431 of file Connectors.cc.