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  

MFTPRcvAgent Class Reference

#include <mftp_rcv.h>

Inheritance diagram for MFTPRcvAgent:

MFTPAgent Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

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

Protected Member Functions

void init ()
void addLine (unsigned long dtu_nb_from, unsigned long dtu_nb_to)
int process_packet (CW_PATTERN_t cw_pat, unsigned long group_nb, unsigned long dtu_nb)
int findStoreLocation (unsigned long group_nb, unsigned long seek_offset, unsigned long *dtu_nb)
void cw_matrixlines_reset ()
bool is_group_full (unsigned long group_nb)
int recv_data (hdr_mftp::Spec::Data &data)
void recv_status_req (hdr_mftp::Spec::StatReq &statreq)
void send_nak (unsigned long pass_nb, unsigned long block_nb)

Protected Attributes

ns_addr_t reply_
unsigned long CurrentPass
unsigned long CurrentGroup
CW_PATTERN_t CwPat
unsigned long FileDGramsReceived
unsigned long FseekOffset
CW_MATRIXLINE_t * cw_matrixline_buf

Constructor & Destructor Documentation

MFTPRcvAgent::MFTPRcvAgent (    ) 
 

MFTPRcvAgent::~MFTPRcvAgent (    ) 
 


Member Function Documentation

void MFTPRcvAgent::addLine (  unsigned long    dtu_nb_from,
unsigned long    dtu_nb_to
)  [protected]
 

int MFTPRcvAgent::command (  int    argc,
const char *const *    argv
)  [virtual]
 

Reimplemented from Agent.

void MFTPRcvAgent::cw_matrixlines_reset (    )  [protected]
 

int MFTPRcvAgent::findStoreLocation (  unsigned long    group_nb,
unsigned long    seek_offset,
unsigned long *    dtu_nb
)  [protected]
 

void MFTPRcvAgent::init (    )  [protected]
 

Reimplemented from MFTPAgent.

bool MFTPRcvAgent::is_group_full (  unsigned long    group_nb )  [protected]
 

int MFTPRcvAgent::process_packet (  CW_PATTERN_t    cw_pat,
unsigned long    group_nb,
unsigned long    dtu_nb
)  [protected]
 

void MFTPRcvAgent::recv (  Packet *    p,
Handler *    h
)  [virtual]
 

Reimplemented from Agent.

int MFTPRcvAgent::recv_data (  hdr_mftp::Spec::Data &    data )  [protected]
 

void MFTPRcvAgent::recv_status_req (  hdr_mftp::Spec::StatReq &    statreq )  [protected]
 

void MFTPRcvAgent::send_nak (  unsigned long    pass_nb,
unsigned long    block_nb
)  [protected]
 


Member Data Documentation

unsigned long MFTPRcvAgent::CurrentGroup [protected]
 

unsigned long MFTPRcvAgent::CurrentPass [protected]
 

CW_MATRIXLINE_t* MFTPRcvAgent::cw_matrixline_buf [protected]
 

CW_PATTERN_t MFTPRcvAgent::CwPat [protected]
 

unsigned long MFTPRcvAgent::FileDGramsReceived [protected]
 

unsigned long MFTPRcvAgent::FseekOffset [protected]
 

ns_addr_t MFTPRcvAgent::reply_ [protected]
 


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