|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/applications/tcpapp/GenericAppMsg.msg:37 by nedtool.
More...
#include <GenericAppMsg_m.h>
Public Member Functions | |
| GenericAppMsg (const char *name=nullptr, short kind=0) | |
| GenericAppMsg (const GenericAppMsg &other) | |
| virtual | ~GenericAppMsg () |
| GenericAppMsg & | operator= (const GenericAppMsg &other) |
| virtual GenericAppMsg * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual int | getExpectedReplyLength () const |
| virtual void | setExpectedReplyLength (int expectedReplyLength) |
| virtual double | getReplyDelay () const |
| virtual void | setReplyDelay (double replyDelay) |
| virtual bool | getServerClose () const |
| virtual void | setServerClose (bool serverClose) |
Protected Member Functions | |
| bool | operator== (const GenericAppMsg &) |
Protected Attributes | |
| int | expectedReplyLength |
| double | replyDelay |
| bool | serverClose |
Private Member Functions | |
| void | copy (const GenericAppMsg &other) |
Class generated from inet/applications/tcpapp/GenericAppMsg.msg:37 by nedtool.
// // Message class for generic request-reply style applications. // The client sends a ~GenericAppMsg which contains the number of // bytes the client wants the server to send back as reply. // // This way intelligence (behaviour specific to the modelled application, // e.g. HTTP, SMB, database protocol) needs only to be present in // the client, and the server model can be kept simple and dumb. // // @see ~TCPGenericSrvApp, TCPGenericCliAppBase (C++ only) // packet GenericAppMsg { int expectedReplyLength; // in bytes double replyDelay; // reply after this many seconds bool serverClose; // with TCP: if true, server should close the // connection after sending the reply }
| inet::GenericAppMsg::GenericAppMsg | ( | const char * | name = nullptr, |
| short | kind = 0 |
||
| ) |
| inet::GenericAppMsg::GenericAppMsg | ( | const GenericAppMsg & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
Referenced by inet::TCPGenericSrvThread::dataArrived(), and inet::TCPGenericSrvApp::handleMessage().
|
virtual |
Referenced by inet::TCPGenericSrvThread::dataArrived(), and inet::TCPGenericSrvApp::handleMessage().
|
virtual |
Referenced by inet::TCPGenericSrvThread::dataArrived(), and inet::TCPGenericSrvApp::handleMessage().
| GenericAppMsg& inet::GenericAppMsg::operator= | ( | const GenericAppMsg & | other | ) |
|
protected |
|
overridevirtual |
Referenced by inet::doParsimPacking().
|
overridevirtual |
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::TelnetApp::sendGenericAppMsg(), and inet::TCPBasicClientApp::sendRequest().
|
virtual |
|
virtual |
Referenced by inet::TelnetApp::sendGenericAppMsg(), and inet::TCPBasicClientApp::sendRequest().
|
protected |
|
protected |
|
protected |