senf::ppi::module::PassiveQueue Class Reference
[Adapter Modules]

Adaptor to connect active a pair of active connectors. More...

#include <senf/PPI/PassiveQueue.hh>

Inheritance diagram for senf::ppi::module::PassiveQueue:
Inheritance graph
[legend]

List of all members.


Detailed Description

Adaptor to connect active a pair of active connectors.

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

Constructor & Destructor Documentation

senf::ppi::module::PassiveQueue::
PassiveQueue ()

Definition at line 38 of file PassiveQueue.cc.


Member Function Documentation

template<class QDiscipline >
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.

See also:
connector::GenericPassiveInput::qdisc()

Definition at line 37 of file PassiveQueue.cti.


Member Data Documentation

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.


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