#include <media-app.h>
Inheritance diagram for HttpMediaData:


Definition at line 200 of file media-app.h.
Public Types | |
| enum | { MD_LAST = 1, MD_FINISH = 2, MD_PREFETCH = 4 } |
Public Member Functions | |
| Application * | conid () |
| virtual AppData * | copy () |
| virtual int | cost () const |
| int | datasize () const |
| int | et () const |
| HttpMediaData (HttpMediaData &d) | |
| HttpMediaData (const char *sender, const char *name, int layer, int st, int et) | |
| int & | id () |
| int | is_finished () const |
| int | is_last () const |
| int | is_pref () const |
| int | layer () const |
| const char * | page () const |
| const char * | sender () const |
| void | set_conid (Application *c) |
| void | set_finish () |
| void | set_last () |
| void | set_pref () |
| virtual int | size () const |
| int | st () const |
| AppDataType | type () const |
Private Attributes | |
| Application * | conid_ |
| int | et_ |
| int | flags_ |
| int | layer_ |
| char | page_ [HTTP_MAXURLLEN] |
| char | sender_ [HTTP_MAXURLLEN] |
| int | st_ |
Data Structures | |
| struct | hdr |
|
|
Definition at line 246 of file media-app.h. 00246 { 00247 MD_LAST = 1, 00248 MD_FINISH = 2, 00249 MD_PREFETCH = 4 00250 };
|
|
||||||||||||||||||||||||
|
Definition at line 465 of file media-app.cc. References HTTP_MAXURLLEN, page_, and sender_. Referenced by copy(). 00466 : 00467 HttpData(MEDIA_DATA, 0), layer_(layer), st_(st), et_(et), flags_(0) 00468 { 00469 assert(strlen(page)+1 <= (size_t)HTTP_MAXURLLEN); 00470 strcpy(page_, page); 00471 assert(strlen(sender)+1 <= (size_t)HTTP_MAXURLLEN); 00472 strcpy(sender_, sender); 00473 }
|
|
|
Definition at line 221 of file media-app.h. References et_, flags_, layer_, page_, sender_, and st_. 00221 : HttpData(d) { 00222 layer_ = d.layer_; 00223 st_ = d.st_; 00224 et_ = d.et_; 00225 flags_ = d.flags_; 00226 strcpy(page_, d.page_); 00227 strcpy(sender_, d.sender_); 00228 }
|
|
|
Definition at line 240 of file media-app.h. References conid_. 00240 { return conid_; }
|
|
|
Reimplemented from HttpData. Definition at line 231 of file media-app.h. References HttpMediaData(). 00231 { return (new HttpMediaData(*this)); }
Here is the call graph for this function: ![]() |
|
|
Reimplemented in HttpNormalData, HttpHbData, HttpUpdateData, and HttpLeaveData. Definition at line 186 of file http-aux.h. References HTTPDATA_COST. 00186 { return HTTPDATA_COST; }
|
|
|
Definition at line 235 of file media-app.h. Referenced by MediaApp::get_data(), and QA::output().
|
|
|
Definition at line 234 of file media-app.h. References et_. Referenced by MediaSegment::MediaSegment(). 00234 { return et_; }
|
|
|
Definition at line 184 of file http-aux.h. References HttpData::id_. Referenced by HttpMInvalCache::recv_inv(), and HttpMInvalCache::recv_leave(). 00184 { return id_; }
|
|
|
Definition at line 255 of file media-app.h. References flags_, and MD_FINISH. Referenced by QA::output().
|
|
|
Definition at line 253 of file media-app.h. References flags_, and MD_LAST. Referenced by MediaSegment::MediaSegment().
|
|
|
Definition at line 257 of file media-app.h. References flags_, and MD_PREFETCH. Referenced by MediaSegment::MediaSegment(). 00257 { return (flags_ & MD_PREFETCH); }
|
|
|
Definition at line 236 of file media-app.h. References layer_. 00236 { return layer_; }
|
|
|
Definition at line 237 of file media-app.h. References page_. 00237 { return page_; }
|
|
|
Definition at line 238 of file media-app.h. References sender_. 00238 { return sender_; }
|
|
|
Definition at line 241 of file media-app.h. References conid_. 00241 { conid_ = c; }
|
|
|
Definition at line 256 of file media-app.h. References flags_, and MD_FINISH.
|
|
|
Definition at line 254 of file media-app.h. References flags_, and MD_LAST.
|
|
|
Definition at line 258 of file media-app.h. References flags_, and MD_PREFETCH. 00258 { flags_ |= MD_PREFETCH; }
|
|
|
Reimplemented from HttpData. Definition at line 230 of file media-app.h. References HttpData::size(). 00230 { return HttpData::size() + sizeof(hdr); }
Here is the call graph for this function: ![]() |
|
|
Definition at line 233 of file media-app.h. References st_. Referenced by MediaSegment::MediaSegment(). 00233 { return st_; }
|
|
|
Definition at line 105 of file ns-process.h. References AppData::type_. Referenced by Packet::accessdata(), TcpApp::process_data(), MediaClient::process_data(), MediaCache::process_data(), HttpMInvalCache::process_data(), HttpApp::process_data(), UdpAgent::recv(), and MessagePassingAgent::recv(). 00105 { return type_; }
|
|
|
Definition at line 208 of file media-app.h. Referenced by conid(), and set_conid(). |
|
|
Definition at line 206 of file media-app.h. Referenced by datasize(), et(), and HttpMediaData(). |
|
|
Definition at line 207 of file media-app.h. Referenced by HttpMediaData(), is_finished(), is_last(), is_pref(), set_finish(), set_last(), and set_pref(). |
|
|
Definition at line 204 of file media-app.h. Referenced by HttpMediaData(), and layer(). |
|
|
Definition at line 202 of file media-app.h. Referenced by HttpMediaData(), and page(). |
|
|
Definition at line 203 of file media-app.h. Referenced by HttpMediaData(), and sender(). |
|
|
Definition at line 205 of file media-app.h. Referenced by datasize(), HttpMediaData(), and st(). |
1.4.6