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  

TcpApp Class Reference

#include <tcpapp.h>

Inheritance diagram for TcpApp:

Application Process TclObject HttpUInvalAgent List of all members.

Public Member Functions

 TcpApp (Agent *tcp)
 ~TcpApp ()
virtual void recv (int nbytes)
virtual void send (int nbytes, AppData *data)
void connect (TcpApp *dst)
virtual void process_data (int size, AppData *data)
virtual AppDataget_data (int &, AppData *)
virtual void resume ()

Protected Member Functions

virtual int command (int argc, const char *const *argv)
CBufrcvr_retrieve_data ()
virtual void start ()
virtual void stop ()

Protected Attributes

TcpApp * dst_
CBufList cbuf_
int curbytes_

Constructor & Destructor Documentation

TcpApp::TcpApp Agent   tcp


Member Function Documentation

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

Reimplemented from Application.

Reimplemented in HttpUInvalAgent.

void TcpApp::connect TcpApp *    dst [inline]

virtual AppData* TcpApp::get_data int &   ,
[inline, virtual]

Reimplemented from Process.

Reimplemented in HttpUInvalAgent.

void TcpApp::process_data int    size,
AppData   data

Reimplemented from Process.

Reimplemented in HttpUInvalAgent.

CBuf* TcpApp::rcvr_retrieve_data   [inline, protected]

void TcpApp::recv int    nbytes [virtual]

Reimplemented from Application.

void TcpApp::resume   [virtual]

Reimplemented from Application.

void TcpApp::send int    nbytes,
AppData   data

Reimplemented in HttpUInvalAgent.

virtual void TcpApp::start   [inline, protected, virtual]

Reimplemented from Application.

virtual void TcpApp::stop   [inline, protected, virtual]

Reimplemented from Application.

Member Data Documentation

CBufList TcpApp::cbuf_ [protected]

int TcpApp::curbytes_ [protected]

CBuf* TcpApp::curdata_ [protected]

TcpApp* TcpApp::dst_ [protected]

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