34 #ifndef EMANEFLOWCONTROLMANAGER_HEADER_ 35 #define EMANEFLOWCONTROLMANAGER_HEADER_ 67 void start(std::uint16_t u16TotalTokensAvailable);
88 std::pair<std::uint16_t,bool>
addToken(std::uint16_t u16Tokens = 1);
99 std::unique_ptr<Implementation> pImpl_;
108 #endif // EMANEUTILSFLOWCONTROLMANAGER_HEADER_ Flow Control Manager (token producer) side.
std::pair< std::uint16_t, bool > addToken(std::uint16_t u16Tokens=1)
FlowControlManager(EMANE::DownstreamTransport &transport)
void start(std::uint16_t u16TotalTokensAvailable)
void processFlowControlMessage(const Controls::FlowControlControlMessage *pMsg)
Flow Control Control Messages are sent between a MAC layer and a transport in order to communicate da...
std::pair< std::uint16_t, bool > removeToken()
DownstreamTransport allows for processing downstream data and control messages.