|
INET Framework for OMNeT++/OMNEST
|
Queue for storing requests for message sending. More...
#include <EigrpRtp.h>
Public Member Functions | |
| virtual | ~EigrpRequestQueue () |
| void | pushReq (EigrpMsgReq *req) |
| EigrpMsgReq * | findReqByIf (int ifaceId, bool sent=true) |
| Get first rel/unrel message with given interface ID from request Queue. More... | |
| EigrpMsgReq * | findReqByNeighbor (int neighId, bool sent=true) |
| EigrpMsgReq * | findUnrelReqByIf (int ifaceId) |
| Get first unrel message with given interface ID from request Queue. More... | |
| EigrpMsgReq * | findReqBySeq (uint32_t seqNumber) |
| EigrpMsgReq * | removeReq (EigrpMsgReq *msgReq) |
| void | removeAllMsgsToIf (int ifaceId) |
| Delete all messages with given destination interface ID (fall of interface,...). More... | |
| void | removeAllMsgsToNeigh (int ifaceId) |
| Delete all messages with given destination neighbor ID (end of neighborship,...). More... | |
| int | getNumReq () const |
| void | printInfo () const |
Private Types | |
| typedef std::list< EigrpMsgReq * > | MessageQueue |
Private Attributes | |
| MessageQueue | reqQueue |
| Queue with requests waiting for sending (rel/unrel) More... | |
Queue for storing requests for message sending.
|
private |
|
virtual |
| EigrpMsgReq * inet::eigrp::EigrpRequestQueue::findReqByIf | ( | int | ifaceId, |
| bool | sent = true |
||
| ) |
Get first rel/unrel message with given interface ID from request Queue.
| sent | If false search only for messages waiting for send (not actually sent). |
| EigrpMsgReq * inet::eigrp::EigrpRequestQueue::findReqByNeighbor | ( | int | neighId, |
| bool | sent = true |
||
| ) |
| EigrpMsgReq * inet::eigrp::EigrpRequestQueue::findReqBySeq | ( | uint32_t | seqNumber | ) |
| EigrpMsgReq * inet::eigrp::EigrpRequestQueue::findUnrelReqByIf | ( | int | ifaceId | ) |
|
inline |
| void inet::eigrp::EigrpRequestQueue::printInfo | ( | ) | const |
| void inet::eigrp::EigrpRequestQueue::pushReq | ( | EigrpMsgReq * | req | ) |
| void inet::eigrp::EigrpRequestQueue::removeAllMsgsToIf | ( | int | ifaceId | ) |
Delete all messages with given destination interface ID (fall of interface,...).
| void inet::eigrp::EigrpRequestQueue::removeAllMsgsToNeigh | ( | int | ifaceId | ) |
Delete all messages with given destination neighbor ID (end of neighborship,...).
| EigrpMsgReq * inet::eigrp::EigrpRequestQueue::removeReq | ( | EigrpMsgReq * | msgReq | ) |
|
private |
Queue with requests waiting for sending (rel/unrel)
Referenced by findReqByIf(), findReqByNeighbor(), findReqBySeq(), findUnrelReqByIf(), getNumReq(), printInfo(), pushReq(), removeAllMsgsToIf(), removeAllMsgsToNeigh(), removeReq(), and ~EigrpRequestQueue().