INET Framework for OMNeT++/OMNEST
|
Class generated from inet/applications/httptools/common/HttpMessages.msg:72
by nedtool.
More...
#include <HttpMessages_m.h>
Public Member Functions | |
HttpBaseMessage (const char *name=nullptr, short kind=0) | |
HttpBaseMessage (const HttpBaseMessage &other) | |
virtual | ~HttpBaseMessage () |
HttpBaseMessage & | operator= (const HttpBaseMessage &other) |
virtual HttpBaseMessage * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual const char * | targetUrl () const |
virtual void | setTargetUrl (const char *targetUrl) |
virtual const char * | originatorUrl () const |
virtual void | setOriginatorUrl (const char *originatorUrl) |
virtual int | protocol () const |
virtual void | setProtocol (int protocol) |
virtual bool | keepAlive () const |
virtual void | setKeepAlive (bool keepAlive) |
virtual int | serial () const |
virtual void | setSerial (int serial) |
virtual const char * | heading () const |
virtual void | setHeading (const char *heading) |
virtual const char * | payload () const |
virtual void | setPayload (const char *payload) |
Protected Member Functions | |
bool | operator== (const HttpBaseMessage &) |
Protected Attributes | |
::omnetpp::opp_string | targetUrl_var |
::omnetpp::opp_string | originatorUrl_var |
int | protocol_var |
bool | keepAlive_var |
int | serial_var |
::omnetpp::opp_string | heading_var |
::omnetpp::opp_string | payload_var |
Private Member Functions | |
void | copy (const HttpBaseMessage &other) |
Class generated from inet/applications/httptools/common/HttpMessages.msg:72
by nedtool.
// // Base class for HTTP messages // packet HttpBaseMessage { @omitGetVerb(true); @fieldNameSuffix("_var"); string targetUrl; // The target URL - request set for browsers, echoed by servers. string originatorUrl = ""; // The originator URL. Only applicable for servers. int protocol = 11; // 10 for http/1.0, 11 for http/1.1. bool keepAlive = true; // The keep-alive header int serial = 0; // Convenience field which allows resource requests to be serially tagged for ease of analysis. string heading = ""; // The message heading - request string for requests, response for replies string payload = ""; // The payload field }
inet::httptools::HttpBaseMessage::HttpBaseMessage | ( | const char * | name = nullptr , |
short | kind = 0 |
||
) |
inet::httptools::HttpBaseMessage::HttpBaseMessage | ( | const HttpBaseMessage & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::httptools::HttpReplyMessage, and inet::httptools::HttpRequestMessage.
|
virtual |
Referenced by inet::httptools::HttpNodeBase::formatHttpRequestLong(), inet::httptools::HttpNodeBase::formatHttpRequestShort(), inet::httptools::HttpNodeBase::formatHttpResponseLong(), inet::httptools::HttpNodeBase::formatHttpResponseShort(), inet::httptools::HttpServerBase::generateResourceMessage(), inet::httptools::HttpServerBase::handleGetRequest(), and inet::httptools::HttpServerBase::handleReceivedMessage().
|
virtual |
HttpBaseMessage& inet::httptools::HttpBaseMessage::operator= | ( | const HttpBaseMessage & | other | ) |
|
protected |
|
virtual |
Referenced by inet::httptools::HttpNodeBase::formatHttpRequestLong(), inet::httptools::HttpNodeBase::formatHttpRequestShort(), inet::httptools::HttpNodeBase::formatHttpResponseLong(), inet::httptools::HttpNodeBase::formatHttpResponseShort(), inet::httptools::HttpServerBase::generateDocument(), inet::httptools::HttpServerBase::generateErrorReply(), inet::httptools::HttpServerBase::generateResourceMessage(), and inet::httptools::HttpBrowserBase::handleDataMessage().
|
overridevirtual |
Reimplemented in inet::httptools::HttpReplyMessage, and inet::httptools::HttpRequestMessage.
Referenced by inet::httptools::doParsimPacking().
|
overridevirtual |
Reimplemented in inet::httptools::HttpReplyMessage, and inet::httptools::HttpRequestMessage.
Referenced by inet::httptools::doParsimUnpacking().
|
virtual |
|
virtual |
Referenced by inet::httptools::HttpNodeBase::formatHttpRequestLong(), inet::httptools::HttpNodeBase::formatHttpRequestShort(), inet::httptools::HttpNodeBase::formatHttpResponseLong(), inet::httptools::HttpNodeBase::formatHttpResponseShort(), inet::httptools::HttpServerBase::generateDocument(), inet::httptools::HttpServerBase::generateErrorReply(), and inet::httptools::HttpServerBase::generateResourceMessage().
|
virtual |
Referenced by inet::httptools::HttpNodeBase::formatHttpRequestLong(), inet::httptools::HttpNodeBase::formatHttpRequestShort(), inet::httptools::HttpNodeBase::formatHttpResponseLong(), inet::httptools::HttpNodeBase::formatHttpResponseShort(), inet::httptools::HttpServerBase::generateDocument(), inet::httptools::HttpServerBase::generateErrorReply(), inet::httptools::HttpServerBase::generateResourceMessage(), and inet::httptools::HttpBrowserBase::handleDataMessage().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::httptools::HttpServerBase::generateDocument().
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Referenced by inet::httptools::HttpNodeBase::formatHttpRequestLong(), inet::httptools::HttpNodeBase::formatHttpRequestShort(), inet::httptools::HttpNodeBase::formatHttpResponseLong(), inet::httptools::HttpNodeBase::formatHttpResponseShort(), inet::httptools::HttpServerBase::handleReceivedMessage(), inet::httptools::HttpBrowserDirect::sendRequestToServer(), and inet::httptools::HttpBrowser::sendRequestToServer().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |