ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MFTPSndAgent Class Reference

#include <mftp_snd.h>

Inheritance diagram for MFTPSndAgent:

MFTPAgent Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 MFTPSndAgent ()
virtual ~MFTPSndAgent ()
int command (int argc, const char *const *argv)
void recv (Packet *p, Handler *h)

Protected Member Functions

void fill_read_ahead_buf ()
void init_user_file (unsigned long readAheadBufsize)
int send_data ()
void send_status_request (unsigned long pass_nb, unsigned long block_lo, unsigned long block_hi, double txStatusDelay)
void process_nak (hdr_mftp::Spec::Nak &nak, unsigned char *nak_bitmap, unsigned long currentPass)

Protected Attributes

int readAheadBufsize_
double txStatusDelay_
int nakCount_
unsigned char * naks
unsigned char * retx
unsigned long fseek_offset
unsigned long read_ahead_bufsize
unsigned long CurrentPass
unsigned long CurrentGroup
CW_PATTERN_t CwPat
unsigned long MinGroupNbInBuf
unsigned long NbGroupsInBuf
Codeword iterator

Constructor & Destructor Documentation

MFTPSndAgent::MFTPSndAgent  
 

MFTPSndAgent::~MFTPSndAgent   [virtual]
 


Member Function Documentation

int MFTPSndAgent::command int    argc,
const char *const *    argv
[virtual]
 

Reimplemented from Agent.

void MFTPSndAgent::fill_read_ahead_buf   [protected]
 

void MFTPSndAgent::init_user_file unsigned long    readAheadBufsize [protected]
 

void MFTPSndAgent::process_nak hdr_mftp::Spec::Nak   nak,
unsigned char *    nak_bitmap,
unsigned long    currentPass
[protected]
 

void MFTPSndAgent::recv Packet   p,
Handler   h
[virtual]
 

Reimplemented from Agent.

int MFTPSndAgent::send_data   [protected]
 

void MFTPSndAgent::send_status_request unsigned long    pass_nb,
unsigned long    block_lo,
unsigned long    block_hi,
double    txStatusDelay
[protected]
 


Member Data Documentation

unsigned long MFTPSndAgent::CurrentGroup [protected]
 

unsigned long MFTPSndAgent::CurrentPass [protected]
 

CW_PATTERN_t MFTPSndAgent::CwPat [protected]
 

unsigned long MFTPSndAgent::fseek_offset [protected]
 

Codeword MFTPSndAgent::iterator [protected]
 

unsigned long MFTPSndAgent::MinGroupNbInBuf [protected]
 

int MFTPSndAgent::nakCount_ [protected]
 

unsigned char* MFTPSndAgent::naks [protected]
 

unsigned long MFTPSndAgent::NbGroupsInBuf [protected]
 

unsigned long MFTPSndAgent::read_ahead_bufsize [protected]
 

int MFTPSndAgent::readAheadBufsize_ [protected]
 

unsigned char* MFTPSndAgent::retx [protected]
 

double MFTPSndAgent::txStatusDelay_ [protected]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.