![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <ldk/tools/Consumer.hpp>


Public Types | |
| typedef std::list< CompoundPtr > | ContainerType |
Public Member Functions | |
| void | consumeIncoming (bool choice=true) |
| Configure the Consumer whether to drop incoming packets. | |
| void | consumeOutgoing (bool choice=true) |
| Configure the Consumer whether to drop outgoing packets. | |
| Consumer (fun::FUN *, const wns::pyconfig::View &) | |
| Consumer (fun::FUN *fuNet, bool _incoming=false, bool _outgoing=false) | |
| virtual void | doOnData (const CompoundPtr &compound) |
| virtual void | doSendData (const CompoundPtr &compound) |
Private Member Functions | |
| virtual bool | doIsAccepting (const CompoundPtr &compound) const |
| virtual void | doWakeup () |
Private Attributes | |
| bool | incoming |
| bool | outgoing |
Definition at line 51 of file Consumer.hpp.
| typedef std::list<CompoundPtr> wns::ldk::tools::Consumer::ContainerType |
Definition at line 60 of file Consumer.hpp.
| wns::ldk::tools::Consumer::Consumer | ( | fun::FUN * | fuNet, | |
| bool | _incoming = false, |
|||
| bool | _outgoing = false | |||
| ) | [inline] |
Definition at line 62 of file Consumer.hpp.
| Consumer::Consumer | ( | fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 38 of file Consumer.cpp.
| void wns::ldk::tools::Consumer::consumeIncoming | ( | bool | choice = true |
) | [inline] |
Definition at line 80 of file Consumer.hpp.
| void wns::ldk::tools::Consumer::consumeOutgoing | ( | bool | choice = true |
) | [inline] |
Definition at line 91 of file Consumer.hpp.
| virtual bool wns::ldk::tools::Consumer::doIsAccepting | ( | const CompoundPtr & | compound | ) | const [inline, private, virtual] |
Definition at line 123 of file Consumer.hpp.
| virtual void wns::ldk::tools::Consumer::doOnData | ( | const CompoundPtr & | compound | ) | [inline, virtual] |
Definition at line 108 of file Consumer.hpp.
| virtual void wns::ldk::tools::Consumer::doSendData | ( | const CompoundPtr & | compound | ) | [inline, virtual] |
Definition at line 97 of file Consumer.hpp.
| virtual void wns::ldk::tools::Consumer::doWakeup | ( | ) | [inline, private, virtual] |
Definition at line 132 of file Consumer.hpp.
bool wns::ldk::tools::Consumer::incoming [private] |
Definition at line 137 of file Consumer.hpp.
bool wns::ldk::tools::Consumer::outgoing [private] |
Definition at line 138 of file Consumer.hpp.
1.5.5