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


Public Member Functions | |
| HttpUpdateData (int id, int n) | |
| HttpUpdateData (HttpUpdateData &d) | |
| virtual | ~HttpUpdateData () |
| virtual int | size () const |
| virtual int | cost () const |
| virtual AppData * | copy () |
| int | num () const |
| int | pgsize () const |
| void | set_pgsize (int s) |
| void | add (int i, ClientPage *p) |
| char * | rec_page (int i) |
| int & | rec_size (int i) |
| double & | rec_age (int i) |
| double & | rec_mtime (int i) |
| int & | id () |
| AppDataType | type () const |
Private Member Functions | |
| PageRec * | rec () |
Private Attributes | |
| int | num_ |
| int | pgsize_ |
| PageRec * | rec_ |
|
||||||||||||
|
Definition at line 310 of file http-aux.h. References HTTP_UPDATE, num_, pgsize_, and rec_. Referenced by copy().
|
|
|
Definition at line 318 of file http-aux.h. References num_, pgsize_, and rec_.
|
|
|
Definition at line 327 of file http-aux.h. References rec_.
|
|
||||||||||||
|
Definition at line 344 of file http-aux.h. References HttpUpdateData::PageRec::copy(), pgsize_, rec(), and Page::size(). Referenced by HttpMInvalCache::pack_upd().
|
Here is the call graph for this function:

|
|
Reimplemented from HttpData. Definition at line 336 of file http-aux.h. References HttpUpdateData().
00336 {
00337 return (new HttpUpdateData(*this));
00338 }
|
Here is the call graph for this function:

|
|
Reimplemented from HttpData. Definition at line 335 of file http-aux.h. References pgsize_.
00335 { return pgsize_; }
|
|
|
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 340 of file http-aux.h. References num_. Referenced by HttpMInvalCache::recv_upd().
00340 { return num_; }
|
|
|
Definition at line 341 of file http-aux.h. References pgsize_. Referenced by HttpMInvalCache::recv_upd(), and HttpMInvalCache::send_upd().
00341 { return pgsize_; }
|
|
|
Definition at line 308 of file http-aux.h. References rec_. Referenced by add(), rec_age(), rec_mtime(), rec_page(), and rec_size().
00308 { return rec_; }
|
|
|
Definition at line 351 of file http-aux.h. References HttpUpdateData::PageRec::age_, and rec(). Referenced by HttpMInvalCache::command(), and HttpMInvalCache::recv_upd().
|
Here is the call graph for this function:

|
|
Definition at line 352 of file http-aux.h. References HttpUpdateData::PageRec::mtime_, and rec(). Referenced by HttpMInvalCache::command(), and HttpMInvalCache::recv_upd().
|
Here is the call graph for this function:

|
|
Definition at line 349 of file http-aux.h. References HttpUpdateData::PageRec::pg_, and rec(). Referenced by HttpMInvalCache::command(), and HttpMInvalCache::recv_upd().
|
Here is the call graph for this function:

|
|
Definition at line 350 of file http-aux.h. References rec(), and HttpUpdateData::PageRec::size_. Referenced by HttpMInvalCache::command(), and HttpMInvalCache::recv_upd().
|
Here is the call graph for this function:

|
|
Definition at line 343 of file http-aux.h. References pgsize_. Referenced by HttpMInvalCache::command().
00343 { pgsize_ = s; }
|
|
|
Reimplemented from HttpData. Definition at line 332 of file http-aux.h. References num_, and HttpData::size().
00332 {
00333 return HttpData::size() + 2*sizeof(int)+num_*sizeof(PageRec);
00334 }
|
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 305 of file http-aux.h. Referenced by HttpUpdateData(), num(), and size(). |
|
|
Definition at line 306 of file http-aux.h. Referenced by add(), cost(), HttpUpdateData(), pgsize(), and set_pgsize(). |
|
|
Definition at line 307 of file http-aux.h. Referenced by HttpUpdateData(), rec(), and ~HttpUpdateData(). |
1.3.3