![]() |
User Manual, Developers Guide and API Documentation |
![]() |
Connector is one of the 5 aspects of a FU (see The 5 aspects of a FunctionalUnit.)
.
More...
#include <ldk/Connector.hpp>


Public Member Functions | |
| virtual IConnectorReceptacle * | getAcceptor (const CompoundPtr &compound)=0 |
| Return the FU willing to accept the given compound. | |
| virtual bool | hasAcceptor (const CompoundPtr &compound)=0 |
| Return true if there is a FU in the connector set willing to accept the given compound. | |
| virtual | ~Connector () |
In combination with the Receptor, the Connector implements the inter-FU flow control. Given a FU A having FU B in its connector set. FU B always has FU A in its receptor set (see wns::ldk::Receptor.)
Definition at line 58 of file Connector.hpp.
| virtual wns::ldk::Connector::~Connector | ( | ) | [inline, virtual] |
Definition at line 62 of file Connector.hpp.
| virtual IConnectorReceptacle* wns::ldk::Connector::getAcceptor | ( | const CompoundPtr & | compound | ) | [pure virtual] |
Return an accepting FU. This may only be called after a call to hasAcceptor returning true. Always send a Compound using doSendData to the FU retrieved using getAcceptor.
Implemented in wns::ldk::FirstServeConnector, wns::ldk::RoundRobinConnector, wns::ldk::SingleConnector, dll::compoundSwitch::CompoundSwitchConnector, lte::helper::SwitchConnector, lte::macg::MACgSchedulerBS, and lte::macg::MACgSchedulerUT.
| virtual bool wns::ldk::Connector::hasAcceptor | ( | const CompoundPtr & | compound | ) | [pure virtual] |
Always call hasAcceptor to verify there is an accepting FU, before calling getAcceptor.
Implemented in wns::ldk::FirstServeConnector, wns::ldk::RoundRobinConnector, wns::ldk::SingleConnector, dll::compoundSwitch::CompoundSwitchConnector, lte::helper::SwitchConnector, lte::macg::MACgSchedulerBS, and lte::macg::MACgSchedulerUT.
1.5.5