#include <ns-process.h>
Inheritance diagram for AppData:


Public Member Functions | |
| AppData (AppDataType type) | |
| AppData (AppData &d) | |
| virtual | ~AppData () |
| AppDataType | type () const |
| virtual int | size () const |
| virtual AppData * | copy ()=0 |
Private Attributes | |
| AppDataType | type_ |
|
|
Definition at line 80 of file ns-process.h. References type_.
00080 { type_ = type; }
|
|
|
Definition at line 81 of file ns-process.h. References type_.
|
|
|
Definition at line 82 of file ns-process.h.
00082 {}
|
|
|
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(). |
|
|
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); }
|
|
|
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_; }
|
|
|
Definition at line 78 of file ns-process.h. |
1.3.3