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

AppData Class Reference

#include <ns-process.h>

Inheritance diagram for AppData:

Inheritance graph
[legend]
Collaboration diagram for AppData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AppData (AppDataType type)
 AppData (AppData &d)
virtual ~AppData ()
AppDataType type () const
virtual int size () const
virtual AppDatacopy ()=0

Private Attributes

AppDataType type_

Constructor & Destructor Documentation

AppData::AppData AppDataType  type  )  [inline]
 

Definition at line 80 of file ns-process.h.

References type_.

00080 { type_ = type; }

AppData::AppData AppData d  )  [inline]
 

Definition at line 81 of file ns-process.h.

References type_.

00081 { type_ = d.type_; }

virtual AppData::~AppData  )  [inline, virtual]
 

Definition at line 82 of file ns-process.h.

00082 {}


Member Function Documentation

virtual AppData* AppData::copy  )  [pure virtual]
 

Implemented in PacketData, HttpMediaData, MediaRequest, HttpData, HttpNormalData, HttpHbData, HttpUpdateData, HttpLeaveData, and TcpAppString.

Referenced by Packet::copy(), HttpMInvalCache::send_hb_helper(), and HttpMInvalCache::send_upd_helper().

virtual int AppData::size  )  const [inline, virtual]
 

Reimplemented in PacketData, HttpMediaData, HttpData, HttpNormalData, HttpHbData, HttpUpdateData, HttpLeaveData, and TcpAppString.

Definition at line 87 of file ns-process.h.

Referenced by CBuf::CBuf(), Packet::datalen(), HttpInvalAgent::send(), RapAgent::SendPacket(), and TcpAppString::size().

00087 { return sizeof(AppData); }

AppDataType AppData::type  )  const [inline]
 

Definition at line 84 of file ns-process.h.

References AppDataType, and type_.

Referenced by Packet::accessdata(), TcpApp::process_data(), MediaClient::process_data(), MediaCache::process_data(), HttpMInvalCache::process_data(), HttpApp::process_data(), and UdpAgent::recv().

00084 { return type_; }


Member Data Documentation

AppDataType AppData::type_ [private]
 

Definition at line 78 of file ns-process.h.

Referenced by AppData(), and type().


The documentation for this class was generated from the following file:
Generated on Tue Apr 20 12:32:53 2004 for NS2.26SourcesOriginal by doxygen 1.3.3