class <Application/TcpApp> TcpApp : public Application


Inheritance:


Public Methods

void connect(TcpApp *dst)
virtual AppData* get_data(int&, AppData*)
virtual void process_data(int size, AppData* data)
virtual void recv(int nbytes)
virtual void resume()
Do nothing when a connection is terminated
virtual void send(int nbytes, AppData *data)
TcpApp(Agent *tcp)
~TcpApp()

Protected Fields

CBufList cbuf_
int curbytes_
CBuf* curdata_
TcpApp* dst_

Protected Methods

virtual int command(int argc, const char*const* argv)
CBuf* rcvr_retrieve_data()
virtual void start()
We don't have start/stop
virtual void stop()

Inherited from Application:

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

TcpApp(Agent *tcp)

~TcpApp()

virtual void recv(int nbytes)

virtual void send(int nbytes, AppData *data)

void connect(TcpApp *dst)

virtual void process_data(int size, AppData* data)

virtual AppData* get_data(int&, AppData*)

virtual void resume()
Do nothing when a connection is terminated

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

CBuf* rcvr_retrieve_data()

virtual void start()
We don't have start/stop

virtual void stop()

TcpApp* dst_

CBufList cbuf_

CBuf* curdata_

int curbytes_


Direct child classes:
HttpUInvalAgent

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