SeqWindow Class Reference

#include <seqWindow.h>

List of all members.

Public Types

typedef std::deque< seq_nr_tSeqDeque
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_


Member Typedef Documentation

typedef std::deque<seq_nr_t> SeqWindow::SeqDeque

typedef std::map<sender_id_t, SeqDeque> SeqWindow::SenderMap


Constructor & Destructor Documentation

SeqWindow::SeqWindow ( window_size_t  w  ) 

SeqWindow::~SeqWindow (  ) 

SeqWindow::SeqWindow ( const SeqWindow s  )  [private]


Member Function Documentation

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]


Member Data Documentation

window_size_t SeqWindow::window_size_ [private]

Mutex SeqWindow::mutex_ [private]

SenderMap SeqWindow::sender_ [private]


The documentation for this class was generated from the following files:
Generated on Mon Dec 3 11:49:25 2007 for anytun by  doxygen 1.5.1