Package: inet.applications.httptools.browser
HttpBrowserDirect
simple moduleThis component is the direct message passing version of the browser simulation component. Use this component with the HttpDirectHost container module.
Direct message passing is used for transmission, thus bypassing the normal links and interfaces. A linkSpeed parameter is hence needed to model transmission delays.
See also: HttpDirectHost, HttpBrowser
Author: Kristjan V. Jonsson
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
httpProtocol | int | 11 |
The http protocol: 10 for http/1.0, 11 for http/1.1. Not used at the present time. |
logFile | string | "" |
Name of a browser log file. Browse events are appended, allowing sharing of file for multiple browsers. |
scriptFile | string | "" |
The browsing script file. Blank to disable. |
activationTime | double | 0s |
The initial activation delay. Zero to disable (seconds). |
linkSpeed | double | 11Mbps |
Used to model transmission delays (Bit/s) |
config | xml |
The XML configuration file for the browser |
|
httpControllerModule | string | "httpController" |
the absolute path to the http browser controller, See also: HttpController |
Properties
Name | Value | Description |
---|---|---|
lifecycleSupport |
Gates
Name | Direction | Size | Description |
---|---|---|---|
httpIn | input |
Source code
// // This component is the direct message passing version of the browser simulation // component. Use this component with the ~HttpDirectHost container module. // // Direct message passing is used for transmission, thus bypassing the normal links and // interfaces. A linkSpeed parameter is hence needed to model transmission delays. // // @see ~HttpDirectHost, ~HttpBrowser // // @author Kristjan V. Jonsson // simple HttpBrowserDirect like IHttpDirectApp { parameters: int httpProtocol = default(11); // The http protocol: 10 for http/1.0, 11 for http/1.1. Not used at the present time. string logFile = default(""); // Name of a browser log file. Browse events are appended, allowing sharing of file for multiple browsers. string scriptFile = default(""); // The browsing script file. Blank to disable. double activationTime @unit(s) = default(0s); // The initial activation delay. Zero to disable (seconds). double linkSpeed @unit(bps) = default(11Mbps); // Used to model transmission delays (Bit/s) xml config; // The XML configuration file for the browser string httpControllerModule = default("httpController"); // the absolute path to the http browser controller, @see HttpController @lifecycleSupport; gates: input httpIn @directIn; }File: src/inet/applications/httptools/browser/HttpBrowserDirect.ned