|
| virtual void | initialize (int stage) override |
| |
| virtual void | finish () override |
| |
| virtual void | handleMessage (cMessage *msg) override |
| |
| int | numInitStages () const override |
| |
| virtual void | sendRequestToServer (BrowseEvent be) override |
| |
| virtual void | sendRequestToServer (HttpRequestMessage *request) override |
| |
| virtual void | sendRequestToRandomServer () override |
| |
| virtual void | sendRequestsToServer (std::string www, HttpRequestQueue queue) override |
| |
| virtual void | socketEstablished (int connId, void *yourPtr) override |
| |
| virtual void | socketDataArrived (int connId, void *yourPtr, cPacket *msg, bool urgent) override |
| |
| virtual void | socketPeerClosed (int connId, void *yourPtr) override |
| |
| virtual void | socketClosed (int connId, void *yourPtr) override |
| |
| virtual void | socketFailure (int connId, void *yourPtr, int code) override |
| |
| virtual void | socketStatusArrived (int connId, void *yourPtr, TCPStatusInfo *status) override |
| |
| virtual void | socketDeleted (int connId, void *yourPtr) override |
| |
| void | submitToSocket (const char *moduleName, int connectPort, HttpRequestMessage *msg) |
| |
| void | submitToSocket (const char *moduleName, int connectPort, HttpRequestQueue &queue) |
| | Establishes a socket and assigns a queue of messages to be transmitted. More...
|
| |
| void | handleDataMessage (cMessage *msg) |
| |
| void | handleSelfMessages (cMessage *msg) |
| |
| void | handleSelfActivityStart () |
| |
| void | handleSelfStartSession () |
| |
| void | handleSelfNextMessage () |
| |
| void | handleSelfScriptedEvent () |
| |
| void | handleSelfDelayedRequestMessage (cMessage *msg) |
| |
| void | scheduleNextBrowseEvent () |
| |
| HttpRequestMessage * | generatePageRequest (std::string www, std::string page, bool bad=false, int size=0) |
| |
| HttpRequestMessage * | generateRandomPageRequest (std::string www, bool bad=false, int size=0) |
| |
| HttpRequestMessage * | generateResourceRequest (std::string www, std::string resource="", int serial=0, bool bad=false, int size=0) |
| |
| void | readScriptedEvents (const char *filename) |
| |
| void | sendDirectToModule (HttpNodeBase *receiver, cPacket *packet, simtime_t constdelay=0.0, rdObject *rd=nullptr) |
| |
| double | transmissionDelay (cPacket *packet) |
| |
| void | logRequest (const HttpRequestMessage *httpRequest) |
| |
| void | logResponse (const HttpReplyMessage *httpResponse) |
| |
| void | logEntry (std::string line) |
| |
| std::string | formatHttpRequestShort (const HttpRequestMessage *httpRequest) |
| |
| std::string | formatHttpResponseShort (const HttpReplyMessage *httpResponse) |
| |
| std::string | formatHttpRequestLong (const HttpRequestMessage *httpRequest) |
| |
| std::string | formatHttpResponseLong (const HttpReplyMessage *httpResponse) |
| |
| virtual bool | handleOperationStage (LifecycleOperation *operation, int stage, IDoneCallback *doneCallback) override |
| | Perform one stage of a lifecycle operation. More...
|
| |
Browser module.
The component is designed to plug into the existing INET StandardHost module as a tcpApp. See the INET documentation and examples for details.
This component uses the TCP/IP modeling of the INET framework for transport. Specifically, the TCPSocket class is used to interface with the TCP component from the INET framework. A light-weight module which uses direct message passing is also available (HttpBrowserDirect).
- Author
- Kristjan V. Jonsson (krist.nosp@m.janv.nosp@m.j@gma.nosp@m.il.c.nosp@m.om)
- See also
- HttpBrowserBase
-
HttpBrowserDirect