#include <ls.h>
Inheritance diagram for LsRetransmissionManager:


Public Types | |
| typedef less< int > | less_key |
| typedef map< int, LsUnackPeer, less_key > | baseMap |
| typedef map< int, LsUnackPeer, less< int > >::iterator | iterator |
| typedef pair< iterator, bool > | pair_iterator_bool |
Public Member Functions | |
| LsRetransmissionManager (LsRouting &lsr) | |
| void | initTimeout (LsDelayMap *delayMapPtr) |
| void | cancelTimer (int neighborId) |
| int | messageOut (int peerId, const LsMessage &msg) |
| int | ackIn (int peerId, const LsMessage &ack) |
| int | resendMessages (int peerId) |
| iterator | insert (const int &key, const LsUnackPeer &item) |
| void | eraseAll () |
| LsUnackPeer * | findPtr (intkey) |
Private Attributes | |
| LsRouting & | lsRouting_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 490 of file ls.h. References lsRouting_.
00490 : lsRouting_(lsr) {} |
|
||||||||||||
|
Referenced by LsRouting::receiveAck(). |
|
|
|
|
|
Definition at line 112 of file ls.h.
00112 { erase(begin(), end()); }
|
|
|
Definition at line 113 of file ls.h.
00113 {
00114 iterator it = baseMap::find(key);
00115 return (it == baseMap::end()) ? (T *)NULL : &((*it).second);
00116 }
|
|
|
|
|
||||||||||||
|
Definition at line 106 of file ls.h.
00106 {
00107 typename baseMap::value_type v(key, item);
00108 pair_iterator_bool ib = baseMap::insert(v);
00109 return ib.second ? ib.first : baseMap::end();
00110 }
|
|
||||||||||||
|
|
|
|
Referenced by LsRetransTimer::expire(). |
|
|
Definition at line 506 of file ls.h. Referenced by LsRetransmissionManager(). |
1.3.3