#include <http-aux.h>
Inheritance diagram for HttpLeaveData:


Public Member Functions | |
| HttpLeaveData (int id, int n) | |
| HttpLeaveData (HttpLeaveData &d) | |
| virtual | ~HttpLeaveData () |
| virtual int | size () const |
| virtual int | cost () const |
| virtual AppData * | copy () |
| int | num () const |
| void | add (int i, int id) |
| int | rec_id (int i) |
| int & | id () |
| AppDataType | type () const |
Private Member Functions | |
| int * | rec () |
Private Attributes | |
| int | num_ |
| int * | rec_ |
|
||||||||||||
|
Definition at line 366 of file http-aux.h. References HTTP_LEAVE, num_, and rec_. Referenced by copy().
|
|
|
Definition at line 373 of file http-aux.h.
|
|
|
Definition at line 381 of file http-aux.h. References rec_.
|
|
||||||||||||
|
Definition at line 395 of file http-aux.h. References rec(). Referenced by NeighborCache::pack_leave(), and HttpMInvalCache::recv_leave().
00395 {
00396 rec()[i] = id;
00397 }
|
Here is the call graph for this function:

|
|
Reimplemented from HttpData. Definition at line 390 of file http-aux.h. References HttpLeaveData().
00390 {
00391 return (new HttpLeaveData(*this));
00392 }
|
Here is the call graph for this function:

|
|
Reimplemented from HttpData. Definition at line 389 of file http-aux.h. References HTTPLEAVE_COST, and num_. Referenced by HttpMInvalCache::send_leave().
00389 { return num_*HTTPLEAVE_COST; }
|
|
|
Definition at line 159 of file http-aux.h. References HttpData::id_. Referenced by HttpMInvalCache::process_data(), HttpMInvalCache::recv_inv(), and HttpMInvalCache::recv_leave().
00159 { return id_; }
|
|
|
Definition at line 394 of file http-aux.h. References num_. Referenced by HttpMInvalCache::recv_leave().
00394 { return num_; }
|
|
|
Definition at line 364 of file http-aux.h. References rec_. Referenced by add(), and rec_id().
00364 { return rec_; }
|
|
|
Definition at line 398 of file http-aux.h. References rec(). Referenced by HttpMInvalCache::recv_leave().
00398 { return rec()[i]; }
|
Here is the call graph for this function:

|
|
Reimplemented from HttpData. Definition at line 386 of file http-aux.h. References num_, and HttpData::size().
00386 {
00387 return HttpData::size() + (num_+1)*sizeof(int);
00388 }
|
Here is the call graph for this function:

|
|
Definition at line 84 of file ns-process.h. References AppDataType, and AppData::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 362 of file http-aux.h. Referenced by cost(), HttpLeaveData(), num(), and size(). |
|
|
Definition at line 363 of file http-aux.h. Referenced by HttpLeaveData(), rec(), and ~HttpLeaveData(). |
1.3.3