class <Application/MediaApp> MediaApp : public Application

XXX A media app is only responsible for transmission of a single media stream!! Once the transmission is done, the media app will be deleted.

Inheritance:


Public Methods

int command(int argc, const char*const* argv)
virtual AppData* get_data(int& size, AppData* req_data = 0)
void log(const char* fmt, ...)
MediaApp(const char* page)
virtual void process_data(int size, AppData* data)
void set_page(const char* pg)

Protected Fields

MediaSegment data_[MAX_LAYER]
Pointer to next data to be sent
Tcl_Channel log_
log file
int num_layer_
XXX assuming all streams in the simulation have the same number of layers.
char page_[HTTP_MAXURLLEN]
int seg_size_
data segment size

Protected Methods

RapAgent* rap()
Helper function
virtual void start()
virtual void stop()

Private Fields

int last_layer_

Inherited from Application:

Public Methods

virtual void recv(int nbytes)
virtual void resume()
virtual void send(int nbytes)

Protected Fields

Agent* agent_
int enableRecv_
int enableResume_

Inherited from Process:

Public Methods

virtual void send_data(int size, AppData* data = 0)
inline Process*& target()

Protected Fields

Process* target_

Documentation

XXX A media app is only responsible for transmission of a single media stream!! Once the transmission is done, the media app will be deleted.
MediaApp(const char* page)

virtual AppData* get_data(int& size, AppData* req_data = 0)

virtual void process_data(int size, AppData* data)

void set_page(const char* pg)

void log(const char* fmt, ...)

int command(int argc, const char*const* argv)

virtual void start()

virtual void stop()

RapAgent* rap()
Helper function

int seg_size_
data segment size

char page_[HTTP_MAXURLLEN]

MediaSegment data_[MAX_LAYER]
Pointer to next data to be sent

Tcl_Channel log_
log file

int num_layer_
XXX assuming all streams in the simulation have the same number of layers.

int last_layer_


Direct child classes:
QA

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de