#include <seqWindow.h>
Public Types | |
typedef std::deque< seq_nr_t > | SeqDeque |
typedef std::map< sender_id_t, SeqDeque > | SenderMap |
Public Member Functions | |
SeqWindow (window_size_t w) | |
~SeqWindow () | |
SeqDeque::size_type | getLength (sender_id_t sender) |
bool | hasSeqNr (sender_id_t sender, seq_nr_t seq) |
void | addSeqNr (sender_id_t sender, seq_nr_t seq) |
void | clear (sender_id_t sender) |
void | clear () |
Private Member Functions | |
SeqWindow (const SeqWindow &s) | |
void | operator= (const SeqWindow &s) |
Private Attributes | |
window_size_t | window_size_ |
Mutex | mutex_ |
SenderMap | sender_ |
typedef std::deque<seq_nr_t> SeqWindow::SeqDeque |
typedef std::map<sender_id_t, SeqDeque> SeqWindow::SenderMap |
SeqWindow::SeqWindow | ( | window_size_t | w | ) |
SeqWindow::~SeqWindow | ( | ) |
SeqWindow::SeqWindow | ( | const SeqWindow & | s | ) | [private] |
SeqWindow::SeqDeque::size_type SeqWindow::getLength | ( | sender_id_t | sender | ) |
bool SeqWindow::hasSeqNr | ( | sender_id_t | sender, | |
seq_nr_t | seq | |||
) |
void SeqWindow::addSeqNr | ( | sender_id_t | sender, | |
seq_nr_t | seq | |||
) |
void SeqWindow::clear | ( | sender_id_t | sender | ) |
void SeqWindow::clear | ( | ) |
void SeqWindow::operator= | ( | const SeqWindow & | s | ) | [private] |
window_size_t SeqWindow::window_size_ [private] |
Mutex SeqWindow::mutex_ [private] |
SenderMap SeqWindow::sender_ [private] |