|
INET Framework for OMNeT++/OMNEST
|
Classes | |
| class | HttpBaseMessage |
Class generated from inet/applications/httptools/common/HttpMessages.msg:72 by nedtool. More... | |
| class | HttpBrowser |
| Browser module. More... | |
| class | HttpBrowserBase |
| A simulated browser module for OMNeT++ simulations. More... | |
| class | HttpBrowserDirect |
| A simulated browser module for OMNeT++ simulations. More... | |
| class | HttpController |
| The controller module for HttpTools simulations. More... | |
| class | HttpNodeBase |
| The base class for browser and server nodes. More... | |
| class | HttpReplyMessage |
Class generated from inet/applications/httptools/common/HttpMessages.msg:111 by nedtool. More... | |
| class | HttpRequestMessage |
Class generated from inet/applications/httptools/common/HttpMessages.msg:88 by nedtool. More... | |
| class | HttpServer |
| HttpServerDirect module. More... | |
| class | HttpServerBase |
| Web server base class. More... | |
| class | HttpServerDirect |
| Server module for direct message passing. More... | |
| class | HttpServerDirectEvilA |
| An evil attacker server demonstration - type A. More... | |
| class | HttpServerDirectEvilB |
| An evil attacker server demonstration - type B. More... | |
| class | HttpServerEvilA |
| An evil attacker server demonstration - type A. More... | |
| class | HttpServerEvilB |
| An evil attacker server demonstration - type B. More... | |
| class | HttpServerStatusUpdateMsg |
Class generated from inet/applications/httptools/common/HttpEventMessages.msg:31 by nedtool. More... | |
| class | rdConstant |
| Constant distribution random object. More... | |
| class | rdExponential |
| Exponential distribution random object. More... | |
| class | rdHistogram |
| Histogram distribution random object. More... | |
| class | rdNormal |
| Normal distribution random object. More... | |
| class | rdObject |
| Base random object. More... | |
| class | rdObjectFactory |
| A factory class used to construct random distribution objects based on XML elements. More... | |
| class | rdUniform |
| Uniform distribution random object. More... | |
| class | rdZipf |
| Zipf distribution random object. More... | |
Enumerations | |
| enum | HttpContentType { CT_UNKNOWN = 0, CT_HTML = 1, CT_IMAGE = 2, CT_TEXT = 3 } |
Enum generated from inet/applications/httptools/common/HttpMessages.msg:99 by nedtool. More... | |
| enum | LOG_FORMAT { lf_short, lf_long } |
| enum | DISTR_TYPE { dt_normal, dt_uniform, dt_exponential, dt_histogram, dt_constant, dt_zipf } |
Functions | |
| Define_Module (HttpBrowser) | |
| Define_Module (HttpBrowserDirect) | |
| void | doParsimPacking (omnetpp::cCommBuffer *b, const HttpServerStatusUpdateMsg &obj) |
| void | doParsimUnpacking (omnetpp::cCommBuffer *b, HttpServerStatusUpdateMsg &obj) |
| void | doParsimPacking (omnetpp::cCommBuffer *b, const HttpBaseMessage &obj) |
| void | doParsimUnpacking (omnetpp::cCommBuffer *b, HttpBaseMessage &obj) |
| void | doParsimPacking (omnetpp::cCommBuffer *b, const HttpRequestMessage &obj) |
| void | doParsimUnpacking (omnetpp::cCommBuffer *b, HttpRequestMessage &obj) |
| void | doParsimPacking (omnetpp::cCommBuffer *b, const HttpReplyMessage &obj) |
| void | doParsimUnpacking (omnetpp::cCommBuffer *b, HttpReplyMessage &obj) |
| bool | isnotspace (int c) |
| std::string | trimLeft (std::string s) |
| std::string | trimLeft (std::string str, std::string delim) |
| std::string | trimRight (std::string s) |
| std::string | trimRight (std::string str, std::string delim) |
| std::string | trim (std::string str) |
| std::string | extractServerName (const char *url) |
| std::string | extractResourceName (const char *url) |
| std::vector< std::string > | parseResourceName (std::string resource) |
| std::string | getDelimited (std::string str, std::string ldelim, std::string rdelim) |
| HttpContentType | getResourceCategory (std::vector< std::string > res) |
| HttpContentType | getResourceCategory (std::string resourceExt) |
| std::string | htmlErrFromCode (int code) |
| double | safeatof (const char *strval, double defaultVal) |
| int | safeatoi (const char *strval, int defaultVal) |
| int | safeatobool (const char *strval, bool defaultVal) |
| std::vector< std::string > | splitFile (std::string fileName) |
| Define_Module (HttpController) | |
| Define_Module (HttpServer) | |
| Define_Module (HttpServerDirect) | |
| Define_Module (HttpServerDirectEvilA) | |
| Define_Module (HttpServerDirectEvilB) | |
| Define_Module (HttpServerEvilA) | |
| Define_Module (HttpServerEvilB) | |
Enum generated from inet/applications/httptools/common/HttpMessages.msg:99 by nedtool.
//
// Content type of HTTP responses.
//
enum HttpContentType
{
CT_UNKNOWN = 0;
CT_HTML = 1;
CT_IMAGE = 2;
CT_TEXT = 3;
}
| Enumerator | |
|---|---|
| CT_UNKNOWN | |
| CT_HTML | |
| CT_IMAGE | |
| CT_TEXT | |
| inet::httptools::Define_Module | ( | HttpBrowser | ) |
| inet::httptools::Define_Module | ( | HttpServerDirectEvilB | ) |
| inet::httptools::Define_Module | ( | HttpServerEvilA | ) |
| inet::httptools::Define_Module | ( | HttpServerEvilB | ) |
| inet::httptools::Define_Module | ( | HttpController | ) |
| inet::httptools::Define_Module | ( | HttpServer | ) |
| inet::httptools::Define_Module | ( | HttpServerDirectEvilA | ) |
| inet::httptools::Define_Module | ( | HttpBrowserDirect | ) |
| inet::httptools::Define_Module | ( | HttpServerDirect | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string inet::httptools::extractResourceName | ( | const char * | url | ) |
Referenced by inet::httptools::HttpBrowserBase::readScriptedEvents().
| std::string inet::httptools::extractServerName | ( | const char * | url | ) |
| std::string inet::httptools::getDelimited | ( | std::string | str, |
| std::string | ldelim, | ||
| std::string | rdelim | ||
| ) |
Referenced by inet::httptools::HttpServerBase::readSiteDefinition().
| HttpContentType inet::httptools::getResourceCategory | ( | std::vector< std::string > | res | ) |
Referenced by inet::httptools::HttpBrowserBase::generateResourceRequest(), and inet::httptools::HttpServerBase::handleGetRequest().
| HttpContentType inet::httptools::getResourceCategory | ( | std::string | resourceExt | ) |
| std::string inet::httptools::htmlErrFromCode | ( | int | code | ) |
Referenced by inet::httptools::HttpServerBase::generateErrorReply().
|
inline |
Referenced by trimLeft(), and trimRight().
| std::vector< std::string > inet::httptools::parseResourceName | ( | std::string | resource | ) |
| int inet::httptools::safeatobool | ( | const char * | strval, |
| bool | defaultVal | ||
| ) |
Referenced by inet::httptools::HttpBrowserBase::handleDataMessage().
| double inet::httptools::safeatof | ( | const char * | strval, |
| double | defaultVal | ||
| ) |
| int inet::httptools::safeatoi | ( | const char * | strval, |
| int | defaultVal | ||
| ) |
| std::vector< std::string > inet::httptools::splitFile | ( | std::string | fileName | ) |
Referenced by inet::httptools::HttpServerBase::readSiteDefinition().
| std::string inet::httptools::trim | ( | std::string | str | ) |
Referenced by inet::httptools::HttpServerBase::readHtmlBodyFile(), inet::httptools::HttpBrowserBase::readScriptedEvents(), and inet::httptools::HttpServerBase::readSiteDefinition().
| std::string inet::httptools::trimLeft | ( | std::string | s | ) |
| std::string inet::httptools::trimLeft | ( | std::string | str, |
| std::string | delim | ||
| ) |
| std::string inet::httptools::trimRight | ( | std::string | s | ) |
Referenced by inet::httptools::rdHistogram::__parseBinString(), and trim().